PayZuPayZu Docs

Error codes

Every error response follows the same envelope. Program your logic against the errorCode (stable), not the message (may change).

fielddescription
errorCodeStable code (e.g. PZD600). Use it in your logic, not the message.
messageHuman-readable text, may change.
statusCodeHTTP status of the response.
requestIdRequest identifier (provide it to support).
details[]On validation (400), lists field + reason per error.
retryAfterSecondsOn 429/503, suggested seconds to retry the request.

HTTP by origin

HTTPMeansWhat to do
400Invalid dataDo not retry; fix the request
401Not authenticatedCheck the token
403No permission / IPDo not retry; check the token scope / the IP
404Not foundConfirm the id/clientReference
409ConflictQuery the state before retrying
410ExpiredResource no longer exists
422Business ruleFix according to the message
429Rate limitWait for the retryAfterSeconds
502 / 504Financial institution failure/timeoutRetry with backoff
503Temporarily unavailableRetry after the retryAfterSeconds
500Internal server errorTry again; if it persists, contact support with requestId

Cross-cutting

These can appear on any authenticated /v1 route, regardless of the flow.

CodeHTTPMessageWhat to do
PZV001400Dados inválidos. Verifique os campos informados.See details[]: points to the field and the reason.
PZI100500Erro interno ao processar a solicitação.Try again; if it persists, contact support with requestId.
PZA100401Autenticação necessária ou token inválido.Send a valid and active Authorization: Bearer.
PZA200403Operação não permitida para este token/escopo.Token lacks the permission required by the route, or the access subdomain does not match the account.
PZA203403Acesso não permitido a partir deste endereço de IP.IP outside the whitelist (withdrawal/transfer). Allow the IP in the settings.

Deposit / Cash-in

Routes: POST /v1/pix/, POST /v1/transactions/, GET /v1/pix/, GET /v1/pix/qr-code/:transactionId, GET /v1/user/deposit-pending/ and /:id

CodeHTTPMessageWhat to do
PZD200422Depósito não permitido para esta conta.Deposit not enabled; contact support.
PZD201422Depósitos de CNPJ não estão liberados para esta conta.CNPJ payer not enabled.
PZD500503Nenhuma instituição financeira disponível no momento. Tente novamente em instantes.Retry after the retryAfterSeconds.
PZD600400O valor mínimo do depósito é {min}.Amount below the minimum.
PZD601400O valor máximo do depósito é {max}.Amount above the maximum.
PZD602400Para depósitos acima de {limite} é obrigatório informar o documento.Send generatedDocument.
PZD100502Não foi possível gerar o depósito junto à instituição financeira. Tente novamente.Failure at the receiver; try again.

Withdrawal / Cash-out

Routes: POST /v1/withdraw/, POST /v1/withdraw/qrcode, GET /v1/withdraw/, POST /v1/internal-transfer/, GET /v1/internal-transfer/

CodeHTTPMessageWhat to do
PZS200422Saque não permitido para esta conta no momento.Withdrawal not enabled.
PZS500503Nenhuma instituição financeira disponível para o saque no momento. Tente novamente em instantes.Retry after the retryAfterSeconds.
PZS600400O valor mínimo do saque é {min}.Amount below the minimum.
PZS601400O valor máximo do saque é {max}.Amount above the maximum.
PZS602400O valor do saque está fora dos limites da instituição financeira.Adjust to the receiver's limits.
PZS603400O valor informado ({a}) não corresponde ao valor do QR Code ({b}).Use the exact QR value.
PZS604400É obrigatório informar o valor.QR without a fixed value; provide the amount.

Pix key / DICT / QR

Routes: GET /v1/pix/key, POST /v1/pix/qrcode/read, POST /v1/withdraw/qrcode, GET /v1/user/pix-keys/

CodeHTTPMessageWhat to do
PZK101502Não foi possível consultar o QR Code junto à instituição financeira.Try again.
PZK200422Chave Pix inválida.Invalid key.
PZK201422A chave Pix não corresponde ao documento do destinatário.Key does not match the document.
PZK300404Chave Pix não encontrada.Key not found in DICT.
PZK301404QR Code não encontrado.QR not found.
PZK310410Este QR Code expirou ou foi removido pela instituição financeira recebedora.Request a new QR.
PZK400403Consulta de chave Pix não habilitada para o usuário.Not enabled; contact support.
PZK401403Leitura de QR Code não habilitada para o usuário.Not enabled.
PZK600400Chave Pix inválida. Formatos: CPF, CNPJ, e-mail, telefone (+55...) ou aleatória (UUID).Fix the format.
PZK601400QR Code inválido ou mal formatado.QR could not be read.

Query / Proof / Account

Routes: GET /v1/status/, GET /v1/user/transactions/ and /:id, GET /v1/user/bank-statements/ and /:id, POST /v1/user/report/:id/download

CodeHTTPMessageWhat to do
PZC210409Já existe uma operação com este identificador. Verifique o clientReference informado.Duplicate clientReference; use another one or query the operation.
PZC310404Transação não encontrada.Not found for your account.
PZC320422Transação ainda não processada.Proof unavailable while pending.
PZC321422Comprovante indisponível: transação cancelada sem documento.Transaction cancelled without proof.
PZI103500Dado interno ausente para concluir a operação.Try again later; if it persists, contact support with requestId.

Financial institution

Appear on the routes that query the financial institution in real time.

CodeHTTPMessageWhat to do
PZI101500Operação não suportada para esta instituição financeira.Operation not supported by the receiver.
PZI110502Erro de comunicação com a instituição financeira.Try again.
PZI111504A instituição financeira demorou para responder. Tente novamente.Timeout; try again.
PZF500503Instituição financeira temporariamente indisponível. Tente novamente em instantes.Retry after the retryAfterSeconds.

Generic

CodeHTTPMessageWhat to do
PZG404404Recurso não encontrado.Resource does not exist.
PZG429429Muitas requisições em curto período. Tente novamente em instantes.Wait for the retryAfterSeconds.

On this page