Retrieve account statement
View financial transactions for the account with filters and pagination.
View financial entries for the authenticated company and environment. Use filters to select a period, entry types or a linked reference.
A single transaction can generate several entries. This request shows the recorded history without making payments or changing account amounts.
See Account statement to interpret the amounts and navigate through pages.
The types and identifiers guide explains entry codes and the prefixes of references that may appear.
Query Params
Number of entries per page.
From 1 to 100
Cursor received in page.next_after to move forward. Keep the same filters and order. Use only after or before.
Up to 128 characters
Cursor received in page.previous_before to go back. Keep the same filters and order. Use only after or before.
Up to 128 characters
Comma-separated entry types: 1 receipt; 2 fee; 3 service fee; 4 withdrawal; 5 refund; 6 partial refund; 7 adjustment credit; 8 adjustment debit; 9 hold; 10 release.
Up to 100 characters
Identifier of the charge, dispute, withdrawal or adjustment related to the entry. Use the complete ID returned by Raims.
Up to 100 characters
Inclusive period start, in Unix seconds in UTC. The filter considers the entry instant.
From 1 to 253402300799
Inclusive period end, in Unix seconds in UTC. The specified instant is the exact boundary; fractions after the specified second are outside the period.
From 1 to 253402300799
Entry order by date: desc shows newest first; asc shows oldest first.
Responses
Response Body
Entries found and navigation cursors. A query with no results returns an empty list. The statement does not show the balance after each entry.
Statement entries on this page, in the requested order.
Public identifier of the statement entry, with the st_ prefix.
Identifier of the related resource, or null when there is no reference. Charges use ch_, disputes use dp_, withdrawals use wd_, and adjustments use adj_. Manual references may have no prefix.
Reference category: 1 charge; 2 dispute; 3 withdrawal; 4 adjustment; 5 manual entry. Returns null when there is no reference.
Type of statement entry. Payments received, adjustment credits, and releases have positive amounts; fees, withdrawals, refunds, adjustment debits, and holds have negative amounts.
Signed amount of the statement entry in Brazilian real cents. For example, 10000 represents R$ 100,00 and -149 represents an outflow of R$ 1,49.
Time of the statement entry in Unix UTC seconds.
ID of the refund that generated the statement entry, or null when there is no confirmed link.
ID of the dispute linked to the statement entry, or null when there is no confirmed link. A hold with no identified dispute leaves this field null.
Page size and cursors for moving forward or back.
Effective page size.
Indicates whether there is a next page.
Indicates whether there is a previous page.
Cursor for after in the next request, or null at the end of the list.
Cursor for before in the previous request, or null at the start of the list.
Response Body
A filter or cursor is invalid. Check error.details before retrying the request.
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.