Consult PIX QR Code Chargeback Status

This API allows you to consult the status of a previously created chargeback. The query can be made using either the numeric ID or the End-to-End ID (UUID) of the chargeback.

Consult PIX QR Code Chargeback Status

This API allows you to consult the status of a previously created chargeback. The query can be made using either the numeric ID or the End-to-End ID (UUID) of the chargeback.

Headers

ParameterTypeDescriptionExample
AuthorizationStringBearer + Access_tokenBearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNzEzMzAwOTMxLCJpYXQiOjE3MTMyOTczMzEsImp0aSI6Ijc2ZWI4ZTE5ZjM4YjQ4NmZiODdmNzNjNTdkMWVmNDJhIiwidXNlcl9pZCI6MjQ2fQ.5zekMa7CUj9p-MvNHns5ke4ZPhYV3Y1CLOsYL7hDUUo
hmacStringHMAC (Hash-based Message Authentication Code) is an authentication algorithm that combines a private key with a message to create a Message Authentication Code (MAC).hmac: 57373705c83bc5efe41001790c54642e670088c0c87d56bc8f990f2260c7740b99f4081ff231b87f82118c1e77a959e1f40eacf690a8fa61a827a9ba01d546f6

Query Parameters

Important: You must provide exactly one of the parameters below (not both, not neither).

ParameterTypeDescriptionRequired or OptionalExample
idIntegerChargeback ID returned when creating the chargeback. Use this for internal system queries.Optional67890
end_to_end_idStringUUID of the chargeback (end_to_end_id) returned when creating. Use this for reconciliation and tracking.OptionalE123456789abcdef

Response Details

{
  "worked": true,
  "id": 67890,
  "end_to_end_id": "E123456789abcdef",
  "amount": 100.50,
  "status": "SUCCESS",
  "fee": 0.00
}
{
  "worked": true,
  "id": 67890,
  "end_to_end_id": "E123456789abcdef",
  "amount": 100.50,
  "status": "PENDING",
  "fee": 0.00
}
{
  "worked": true,
  "id": 67890,
  "end_to_end_id": "E123456789abcdef",
  "amount": 100.50,
  "status": "REJECTED",
  "fee": 0.00
}
FieldDescription
workedReturns true or false confirming whether the query was successfully submitted or not.
idUnique chargeback identifier. This value never repeats.
end_to_end_idUUID (Universally Unique Identifier) of the chargeback. Can be used for external reconciliation and tracking.
amountChargeback amount value
statusPENDING - Chargeback is being processed. Query again after a few minutes.
SUCCESS - Chargeback successfully completed. The refund has been processed and the amount returned to the payer.
REJECTED - Chargeback was rejected. The refund could not be completed. Contact support for details.
feeFee amount charged for the chargeback transaction

Error Responses

HTTP CodeError MessageDescription
400Either 'id' or 'end_to_end_id' parameter is requiredNo parameter was provided. You must send either the id or end_to_end_id query parameter.
400Only one parameter should be provided: 'id' or 'end_to_end_id'Both parameters were provided simultaneously. Send only one parameter (id OR end_to_end_id).
400Chargeback not foundThe chargeback was not found or does not belong to your company. Verify the ID/UUID and ensure you are using the correct authentication token.

Business Rules

Authorization:

  • The chargeback must belong to the company of the authenticated token
  • Only the company that created the chargeback can query its status

Query Identifiers:

  • Use id for internal system queries and database lookups
  • Use end_to_end_id for reconciliation, external tracking, and customer-facing references
  • Both identifiers are unique and valid for querying

Polling Recommendations:

  • For chargebacks with PENDING status, wait at least 30 seconds between queries
  • External chargebacks typically complete within 5-10 minutes
  • If a chargeback remains PENDING for more than 30 minutes, contact support
  • Consider implementing webhooks for real-time status notifications instead of constant polling
Language
Response
Click Try It! to start a request and see the response here!