Retrieve a transaction
Retrieve the details of a specific transaction by the transaction's ID. The details can include, for example, cardholder details for card payments.
:::tip [Retrieve by request_id instead] Alternatively, you can retrieve a transaction by the request ID that was provided for this transaction at the time of its creation, for example, when you created a payment.
To do that, use the GET /transactions endpoint to retrieve a list of transactions and provide the request_id and appropriate from/to values as filters. :::
For more details, see the guides: Retrieve transactions.
Request
- Base URLhttps://b2b.revolut.com/api/1.0
- AuthHTTP bearer
Path parameters
The unique ID of the transaction.
:::warning [Request ID deprecation] If id_type=request_id is provided, set this field to the request ID from payment creation instead of the transaction ID.
This behavior is deprecated and will be removed in a future release. Use GET /transactions to retrieve transactions by request ID. :::
Query parameters
The type of ID to retrieve the transaction by.
:::warning [Deprecated] This field is now deprecated and will be removed in a future release.
To retrieve transactions by their unique transaction ID, use this endpoint. To retrieve transactions by request ID, use the GET /transactions endpoint instead. :::
Response
The information about a specific transaction
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.