Payout Status
GET https://api-sandbox.epag.io/payoutTransaction/TX_ID
After receiving a payout update callback, use this GET request to retrieve the most current status of the payout. Identify the payout using the txId.
Validating notifications
All notifications are sent from a fixed set of source IP addresses. Add them to the allowlist of your notification endpoint, and always query this endpoint again after each notification you receive, since the notification is only a trigger and does not carry the final status of the transaction. See Validating Notifications on the Payments page for the source IP list and the full procedure.
Authorization
| Header | Value |
|---|---|
| X-Auth-Token | MY_ACCESS_TOKEN |
Request
- Path parameter:
txId(string): The unique identifier of the payout transaction.
Response
tx_id(string): The unique identifier of the payout transaction.reference_id(string): External code created by the merchant to reference this payout.payout_date(string/date/YYYY-MM-DDTHH:mm:ss.SSSSSS): Payout creation date in UTC.amount: (number): Amount in the payment currency.beneficiary: (string): The beneficiary data.status: (string): Payout status. Possible values:CREATED,PROCESSING,COMPLETED,ERROR.asset: (string): The payment currency.error_code: (string): The error code when status isERROR.error_details: (string): The error description when status isERROR.
Beneficiary Format
- PIX:
CPF,CNPJ,email,phone, or a UUID-basedkey. - SPEI:
BANK_CODE:CLABE. - BANK_TRANSFER:
BANK_CODE:ACCOUNT_TYPE:ACCOUNT_NUMBER.
BANK_CODE is the institution code returned by the Financial Institutions endpoint for the payout country.
Example Response
{
"tx_id": "a1abaf0c-3e79-443b-b5d0-c6e8ecab1958",
"reference_id": "MY_REFERENCE_ID",
"payout_date": "2025-05-14T16:59:33.131425",
"amount": 200,
"beneficiary": "40002:646180179900004269",
"status": "PROCESSING",
"asset": "MXN",
"error_code": null,
"error_details": null,
"refresh_token": "MY_ACCESS_TOKEN"
}