List refunds for a charge
View the refund history for a charge with pagination.
List refunds requested for a charge belonging to the authenticated company and environment, from newest to oldest.
Use the history to track partial refunds or locate a request after losing the creation response. You can filter by the request period. Viewing the list does not issue another refund.
See View the history and Listing and pagination to continue browsing.
Path Params
Identifier of the charge that received the Pix payment.
Up to 100 characters
Query Params
Number of refunds per page. Values above the maximum use the maximum; omitted, empty, text, zero or negative values use the default.
From 1 to 100
Cursor received in page.next_after to move forward. Copy the complete value and keep the same charge. Do not send together with before.
Up to 128 characters
Cursor received in page.previous_before to go back. Copy the complete value and keep the same charge. Do not send together with after.
Up to 128 characters
Filter refunds requested from this instant onward, inclusive, in Unix seconds in UTC. Uses the request creation date regardless of completion. Keep the value when changing pages.
From 0 to 253402300799
Filter refunds requested up to this instant, inclusive, in Unix seconds in UTC. If created_gte is provided, this value must be greater than or equal to it.
From 0 to 253402300799
Responses
Response Body
Page of the charge refund history. An empty list means there are no requests on this page.
Page of refund requests in the queried scope.
Refunds on this page, from newest to oldest.
Public refund request ID.
ID of the charge that received the original payment.
Amount requested for a refund, in Brazilian real cents.
Request description, or null when not provided.
Current status: reserved for a request being prepared, accepted for a request accepted and awaiting confirmation, completed for a completed refund, failed for a confirmed failure and unknown for a result not yet confirmed. Retrieve the same request until there is a confirmed result.
Request date, in Unix seconds in UTC.
Refund confirmation date, in Unix seconds in UTC, or null.
Confirmed failure date, in Unix seconds in UTC, or null.
Reason available when the status is failed, or null for other statuses. A failure with no recorded cause uses REFUND_FAILURE_REASON_UNAVAILABLE; do not assume the request was rejected.
Confirmed cause code. REFUND_FAILURE_REASON_UNAVAILABLE indicates that the cause is unavailable.
Explanation in English and guidance for tracking the request. Use code to handle the cause; do not depend on the exact text.
Cursors to continue the same listing, with the same company, environment and charge when provided.
Number of refunds requested on this page.
Indicates whether there is a next page.
Indicates whether there is a previous page.
Next page cursor, or null.
Previous page cursor, or null.
Response Body
A field or parameter is invalid. Check error.details and correct the indicated data 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.
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.
For common errors, see HTTP response codes.