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 chargeback ID or the End-to-End ID.

Headers

ParameterTypeDescriptionExample
AuthorizationStringBearer + Access_tokenBearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNzEzMzAwOTMxLCJpYXQiOjE3MTMyOTczMzEsImp0aSI6Ijc2ZWI4ZTE5ZjM4YjQ4NmZiODdmNzNjNTdkMWVmNDJhIiwidXNlcl9pZCI6MjQ2fQ.5zekMa7CUj9p-MvNHns5ke4ZPhYV3Y1CLOsYL7hDUUo

Query Parameters

ParameterTypeDescriptionRequired or OptionalExample
idIntegerChargeback ID returned when creating the chargeback. Provide either id OR end_to_end_id, not both.optional98765
end_to_end_idStringEnd-to-End ID (UUID) of the chargeback returned when creating. Provide either id OR end_to_end_id, not both.optionalE6070119020210521123456789012345678

Request Examples

Check status by chargeback ID:

GET /chargebacks-pix-copy-and-paste/status?id=98765
Authorization: Bearer <access_token>

Check status by End-to-End ID:

GET /chargebacks-pix-copy-and-paste/status?end_to_end_id=E6070119020210521123456789012345678
Authorization: Bearer <access_token>

Response Details

{
  "worked": true,
  "id": 98765,
  "end_to_end_id": "E6070119020210521123456789012345678",
  "amount": 50.00,
  "status": "PENDING",
  "fee": 0.00
}
FieldTypeDescription
workedBooleanAlways true for successful requests.
idIntegerUnique chargeback identifier.
end_to_end_idStringEnd-to-End ID of the refund transaction. Can be used for external reconciliation and tracking. May be empty for pending chargebacks.
amountDecimalChargeback amount value.
statusStringPENDING - 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.
feeDecimalTransaction fee. Usually 0.00 for chargebacks.

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 account. Verify the ID/UUID and ensure you are using the correct authentication token.
401UnauthorizedInvalid or missing authentication token. Ensure you are sending a valid Bearer token.
422Validation errorQuery parameter validation failed. Ensure the parameters are in the correct format.

Business Rules

Authentication:

  • Requires valid authentication token
  • User must be authenticated

Parameter Requirements:

  • Exactly one parameter must be provided: either id OR end_to_end_id
  • Cannot provide both parameters
  • Cannot omit both parameters

Query Identifiers:

  • Use id for queries using the chargeback ID returned when creating the chargeback
  • Use end_to_end_id for queries using the End-to-End ID (UUID) for reconciliation and tracking
  • Both identifiers are unique and valid for querying

Authorization:

  • The chargeback must belong to your account
  • Only the account that created the chargeback can query its status

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
Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
text/plain