Look up payment data
Look up confirmed payment data for a charge.
Get the amount, date and registered details associated with a charge's payment. For incoming Pix payments, the response includes the bank identifier when available. Use this lookup to display the receipt in your system or check the payment against the customer's order.
The data becomes available after payment confirmation. To download the prepared document, use Download a payment receipt. See the conditions and meaning of the data in Payment data and receipt.
Path Params
The charge's public ID, returned when the charge is created or listed.
Up to 100 characters
Responses
Response Body
Confirmed payment details. The amount is the original charge amount; refunds are retrieved separately. For Pix receipts, end_to_end_id may identify the bank transaction. Names and documents are registration details associated with the charge and do not verify the payer's banking identity.
Confirmed payment and registration details of the parties to the charge. The amount corresponds to the original payment, before deducting refunds or fees.
Public identifier of the paid charge.
Public identifier of the customer linked to the charge.
Original amount of the paid charge, in Brazilian real cents, before deducting fees or refunds.
Payment method recorded for the payment: 1 Pix, 2 boleto, 3 credit card or 4 debit card. Code 0 indicates that no method was provided.
Date and time of the confirmed payment, in UTC Unix seconds.
Registered customer details associated with the charge. They do not prove the banking identity of the person who made the payment.
Registered name, or null when not provided.
Registered CPF or CNPJ, or null when not provided.
Registered customer details associated with the charge. They do not prove the banking identity of the person who made the payment.
Registered name, or null when not provided.
Registered CPF or CNPJ, or null when not provided.
Indicates that the payment belongs to Sandbox and did not move real money.
Always false. A Raims receipt does not replace a tax invoice.
Bank identifier for the incoming Pix payment, when available. Returns null in Sandbox, for boleto payments and when the incoming payment identifier is not confirmed. It differs from the charge ID and the Pix issuance data.
Response Body
The charge ID is invalid. Use the ID returned by the API.
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
Charge not found in the authenticated company and environment.
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
The payment does not meet the conditions for retrieving its details or issuing a receipt. Retrieve the charge before trying again.
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.