Retrieve a list of transactions
Retrieve the historical transactions based on the provided query criteria.
The transactions are sorted by the created_at date in reverse chronological order, and they're paginated. The maximum number of transactions returned per page is specified by the count parameter. To get the next page of results, make a new request and use the created_at date from the last item of the previous page as the value for the to parameter.
:::note The API returns a maximum of 1,000 transactions per request. :::
For more details, see the guides: Retrieve transactions.
Request
- Base URLhttps://b2b.revolut.com/api/1.0
- AuthHTTP bearer
Query parameters
The date and time you retrieve the historical transactions from, including this date-time. Corresponds to the created_at value of the transaction. Provided in ISO 8601 format.
Used also for pagination. To get back to the previous page of results, make a new request and use the created_at date from the first item of the current page as the value for the from parameter.
The date and time you retrieve the historical transactions to, excluding this date-time. Corresponds to the created_at value of the transaction. Provided in ISO 8601 format. The default value is the date and time at which you're calling the endpoint.
Used also for pagination. To get the next page of results, make a new request and use the created_at date from the last item of the previous (current) page as the value for the to parameter.
The ID of the account
The maximum number of the historical transactions to retrieve per page.
To get the next page of results, make a new request and use the created_at date from the last item of the previous page as the value for the to parameter.
Indicates the transaction type.
The type of the historical transactions to retrieve.
The request ID provided when the transaction was created. Lets you filter transactions related to that ID.
When provided, the from query parameter is also required, and the search interval must not exceed 14 days. For older transactions, adjust the to parameter as well.
The transaction state(s) to filter by.
To specify multiple values, follow this pattern: state={VALUE1}&state={VALUE2}.
Response
List of historical transactions retrieved
Example response
[
{
"merchant": {
"name": "Acme Corp.",
"full_name": "ACME*1234MN1HA2"
},
"card": {
"references": [
{
"name": "PNR",
"value": "RT12345"
}
]
}
}
]Changes
No recorded changes to this operation across all 1 revision of this API.