Pular para o conteúdo principal

Pix Out

Withdrawals — lifecycle and error codes for both initiation methods.

API: POST /v1/pix/withdraw/pix-key, POST /v1/pix/withdraw/manual, GET /v1/pix/withdraw/{externalId}

After create (POST)​

StatusMeaning
INITIATEDRequest accepted, withdraw intent created
CONFIRMEDPayment request sent to BACEN
PROCESSINGWithdraw in progress, payment intent created, sent to BACEN and awaiting settlement (most common)
SUCCESSCompleted in the same response (uncommon)
FAILEDFailed at initiation

When querying (GET)​

StatusMeaning
INITIATEDRequest accepted, withdraw intent created
CONFIRMEDPayment request sent to BACEN
SUCCESSPayment accepted by counterparty and settled successfully
REJECTEDPayment rejected by counterparty
CANCELEDPayment request could not be sent to BACEN
FAILEDProcessing error
EXPIREDConfirmation window expired

When status is FAILED, REJECTED, CANCELED, or EXPIRED, the response may include errorCode and errorDescription.

Webhook statuses for Pix Out: see Webhook events.

Error codes​

BAD_REQUEST (400)​

Error codeDescription
InvalidContentTypePOST body must be sent as application/json.
MalformedRequestWithdraw payload failed validation (amount, externalId, Pix key, or manual account fields).
InvalidJSONWithdraw request body could not be parsed.
InvalidParameterexternalId on GET is malformed or exceeds 100 characters.

NOT_FOUND (404)​

Error codeDescription
NotFoundNo withdrawal exists for the given externalId.
PIX_KEY_NOT_FOUNDPix key withdraw only — key not found in DICT.

UNPROCESSABLE_ENTITY (422)​

Error codeDescription
IGAMING_CPF_MISMATCHPix key CPF does not match account holder.
SECURE_LOOP_ACCOUNT_MISMATCHSecure Loop rules rejected the withdraw.

See also HTTP errors.