We offer you the option to process the refund of a PIX transfer through our API.

Our API has the module that allows you to return a transfer to the account that originated the transaction within 90 days. This refund can be partial or full.

To let you know that a deposit or transfer had a return, the GET pixCharge and pixTransaction endpoints (of the original transaction) receive a pixTransactionReturn object after a refund is made.

Example:

"pixTransactionReturn": {
        "pixTransactionLeftAmount": 949.1012,
        "pixTransactionReturnedHistoric": [
            {
                "amount": 0.88,
                "createdAt": "2024-01-01T20:36:50.842Z",
                "endToEndId": "D612d87d343f4eacb5841d24a51b34c4",
                "codeReturned": "MD06",
                "reasonReturned": "Solicitado pelo usuário recebedor",
                "transactionStatus": "DEBT_REFUNDED"
            },
            {
                "amount": 0.88,
                "createdAt": "2024-01-01T20:37:12.402Z",
                "endToEndId": "Db59a2cde8344c648c317491d3ef23df",
                "codeReturned": "MD06",
                "reasonReturned": "Solicitado pelo usuário recebedor",
                "transactionStatus": "DEBT_REFUNDED"
            },
            {
                "amount": 1.88,
                "createdAt": "2024-01-01T20:46:46.614Z",
                "endToEndId": "De26ff97966844f3bf40a12881837a3c",
                "codeReturned": "MD06",
                "reasonReturned": "Solicitado pelo usuário recebedor",
                "transactionStatus": "DEBT_REFUNDED"
            },
            {
                "amount": 5.88,
                "createdAt": "2024-01-01T20:46:51.802Z",
                "endToEndId": "D1b825446af147f19fcdcd6494f1631a",
                "codeReturned": "MD06",
                "reasonReturned": "Solicitado pelo usuário recebedor",
                "transactionStatus": "DEBT_REFUNDED"
            },
            {
                "amount": 0.88,
                "createdAt": "2024-01-01T20:37:15.439Z",
                "endToEndId": "Df881125236c472490f79678dbcf4733",
                "codeReturned": "MD06",
                "reasonReturned": "Solicitado pelo usuário recebedor",
                "transactionStatus": "DEBT_REFUNDED"
            },
            {
                "amount": 5.88,
                "createdAt": "2024-01-01T20:49:20.556Z",
                "endToEndId": "D2a7e998742f4c6496dfd47b5974c1e2",
                "codeReturned": "MD06",
                "reasonReturned": "Solicitado pelo usuário recebedor",
                "transactionStatus": "DEBT_CONFIRMED"
            }
        ]
    },