Retrieve a charge
Look up the record, status and payment data of a charge.
Looks up a charge by the identifier received when creating or listing charges. Use this request to track the charge's status or obtain the QR Code, Pix copy-and-paste code and data from a boleto already issued. The charge must belong to the authenticated company and environment.
The lookup reads existing data and does not issue or renew Pix, boleto or a checkout link. See when payment data becomes available in Retrieve a charge.
Path Params
The charge's public identifier in Raims, received when creating or listing charges.
Up to 100 characters
Responses
Response Body
Charge details, current status, and available payment instructions. The charge remains available for retrieval after payment, cancellation, or expiration. Retrieving it does not issue or renew Pix or boleto.
Public charge identifier.
Public identifier of the linked customer.
Charge amount in Brazilian real cents.
Charge payment method: 0 undefined, 1 Pix, 2 boleto, 3 credit card and 4 debit card. The value 0 may change to 1 or 2 when Pix or boleto is generated in checkout. Checkout selection appears separately in checkout_payment_method.
Payment method reported by checkout: 0 undefined, 1 Pix, 2 boleto, 3 credit card and 4 debit card. null when this information is not yet available. Selecting an option on screen does not confirm payment generation or that the charge was paid.
Charge due date in Unix UTC seconds.
Charge title, or null when not provided.
Charge description, or null when not provided.
Charge status, accounting for the due date. 0 created, 1 awaiting payment, 2 authorized, 3 processing, 4 paid, 5 partially refunded, 6 refunded, 7 canceled, 8 expired, 9 failed, 10 chargeback, 11 chargeback under review, 12 chargeback lost and 13 chargeback won.
Creation time in Unix UTC seconds.
Link for the payer to open checkout, or null when no link is available.
Indicates whether the charge can be paid. Pix or boleto data may still be missing in payment_information; check status to track payment.
Payment instructions and Pix or boleto issuance result. pix and boleto are null when data is unavailable.
Pix payment data, or null when unavailable.
Pix copy-and-paste code to pay the charge.
Pix code expiration in Unix UTC seconds.
Base64 PNG image of the QR Code without a data URI prefix. To display it in a browser, add data:image/png;base64, before the value.
Boleto payment data, or null when unavailable.
47-digit payment line of the issued boleto.
44-digit barcode of the issued boleto.
Boleto due date in Unix UTC seconds.
Pix issuance result: not_generated when no issuance is available or requested; available when data is available; pending while there is no confirmed result; failed when issuance was unsuccessful.
Reason for pending or failed Pix issuance, or null. Store the charge ID and use the individual lookup to track it. If the condition persists, contact support; do not repeat creation to try to issue Pix.
Stable error code.
Error explanation in English. For validation errors, it summarizes the category; details identify the corrections. Use the codes to handle the response.
Invalid fields or references submitted in the body, with the field, code and explanation. Omitted for general errors and when there is no field correction to indicate.
Public name of the JSON field, query parameter, path parameter or header related to the error. Nested fields and lists retain their path and index. $ represents the root of the JSON body.
Reason for the field error, such as REQUIRED, INVALID_TAXID, UNKNOWN_FIELD, DUPLICATE_FIELD or INVALID_TYPE.
Explanation in English of the problem with this field or parameter and the available correction. Do not use the text to determine your integration flow.
Boleto issuance result: not_generated when no issuance is available or requested; available when data is available; pending while there is no confirmed result; failed when issuance was unsuccessful.
Reason for pending or failed boleto issuance, or null. Store the charge ID and use the individual lookup to track it. If the condition persists, contact support; do not repeat creation to try to issue the boleto.
Stable error code.
Error explanation in English. For validation errors, it summarizes the category; details identify the corrections. Use the codes to handle the response.
Invalid fields or references submitted in the body, with the field, code and explanation. Omitted for general errors and when there is no field correction to indicate.
Public name of the JSON field, query parameter, path parameter or header related to the error. Nested fields and lists retain their path and index. $ represents the root of the JSON body.
Reason for the field error, such as REQUIRED, INVALID_TAXID, UNKNOWN_FIELD, DUPLICATE_FIELD or INVALID_TYPE.
Explanation in English of the problem with this field or parameter and the available correction. Do not use the text to determine your integration flow.
Boleto payment progress: awaiting_payment awaits payment, compensated awaits settlement and settled confirms settlement. Null when no progress data is available. Clearing does not yet mean available credit.
List of payment methods configured for the charge, or null when it uses the inherited checkout configuration. 1 means Pix and 2 means boleto. The list does not change with the method used for payment and does not represent current checkout availability.
Order or charge reference in your system, or null when not provided. It is separate from the customer reference and can be repeated on other charges.
Integration data associated with the resource. Returns {} when there are no values. This map is not used as a search filter or automatically included in webhook events.
Response Body
Invalid charge identifier. Check the id field and the explanation in error.details.
Code and explanation of the error returned by the API.
Stable error code.
Error explanation in English. For validation errors, it summarizes the category; details identify the corrections. Use the codes to handle the response.
Invalid fields or references submitted in the body, with the field, code and explanation. Omitted for general errors and when there is no field correction to indicate.
Public name of the JSON field, query parameter, path parameter or header related to the error. Nested fields and lists retain their path and index. $ represents the root of the JSON body.
Reason for the field error, such as REQUIRED, INVALID_TAXID, UNKNOWN_FIELD, DUPLICATE_FIELD or INVALID_TYPE.
Explanation in English of the problem with this field or parameter and the available correction. Do not use the text to determine your integration flow.
Response Body
No charge was found for the specified id in the authenticated company and environment. Check the identifier.
Code and explanation of the error returned by the API.
Stable error code.
Error explanation in English. For validation errors, it summarizes the category; details identify the corrections. Use the codes to handle the response.
Invalid fields or references submitted in the body, with the field, code and explanation. Omitted for general errors and when there is no field correction to indicate.
Public name of the JSON field, query parameter, path parameter or header related to the error. Nested fields and lists retain their path and index. $ represents the root of the JSON body.
Reason for the field error, such as REQUIRED, INVALID_TAXID, UNKNOWN_FIELD, DUPLICATE_FIELD or INVALID_TYPE.
Explanation in English of the problem with this field or parameter and the available correction. Do not use the text to determine your integration flow.
For common errors, see HTTP response codes.