Request the return of a received Pix
A Pix refund can be made up to 90 days from its receipt.
Request
ENDPOINT
/account/ACCOUNT_KEY/pix_transfer/PIX_TRANSFER_KEY/reversalMETHOD
POSTPath Params
| Field | Type | Description | Characters |
|---|---|---|---|
account_key * | uuidv4 | Unique account identification key. | 36 |
pix_transfer_key * | uuidv4 | Unique identification key for the Pix transfer in the QI system. | 36 |
Request Body
{
"request_control_key": "303393bf-8f2e-4ff0-b326-ee7ad612e8ca",
"reversal_amount": 147,
"reversal_reason": "client_request",
"reversal_message": "Mensagem Pix da Devolução",
"tfa_info": {
"approver_document_number": "98765432100",
"contact_type": "email"
}
}
Request Params
| Field | Type | Description | Characters |
|---|---|---|---|
request_control_key * | uuidv4 | Uniqueness key for the request. | 36 |
reversal_amount * | number | Refund amount. | 11 |
reversal_reason * | string | Reason for the refund. | Enumerator reversal_reason |
reversal_message | string | Refund message. | 140 |
tfa_info * | Object | Object containing the document of the account approver and the means of contact. | Object tfa_info |
Enumerator reversal_reason
| Enumerator | Description |
|---|---|
| client_request | If requested by the account owner. |
| reconciliation | For reconciliation due to operational error. |
Object tfa_info
| Field | Type | Description | Characters |
|---|---|---|---|
approver_document_number * | string | Document number of the account approver. | 11 |
contact_type * | string | Means of contact with the account approver, can be sms or email |
Response
STATUS
202Response Body: Reversal Requested
{
"reversal_status": "pending_2fa_approval",
"end_to_end_id": "E32402502202405081755SxyT2DDcVwc",
"pix_transfer_key": "cdcf0d25-08a1-46e3-902a-6d7ca75e6c48",
"request_control_key": "7c5a1425-73eb-420e-b4fb-0ce3386c7d0c",
"created_at": "2021-10-22T20:30:23.459Z"
}
Response Body
| Field | Type | Description | Characters |
|---|---|---|---|
reversal_status | enumerator | Enumerator for the reversal transaction status. | Enumerator reversal_status |
transfer_amount | number | Amount of the reversal transfer. | 11 |
pix_transfer_key | uuidv4 | Key of the executed pix transaction for the reversal. | 36 |
request_control_key | uuidv4 | Unique identification key for the request used by the client. | 36 |
created_at | string | Date and time of the reversal. | 10 |