curl --request GET \
--url https://api.example.com/transactions/{transactionId} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.example.com/transactions/{transactionId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.example.com/transactions/{transactionId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"type": "<string>",
"status": "pending",
"isIncome": true,
"createdAt": "2023-11-07T05:31:56Z",
"id": "txn_9f2c1ab84d7e4f1fa3c65b0e7d9a2c41",
"from": {
"amount": "500.00",
"currency": "<string>",
"usdRate": "500.00"
},
"to": {
"amount": "500.00",
"currency": "<string>",
"usdRate": "500.00"
},
"fee": {
"amount": "500.00",
"currency": "<string>",
"usdRate": "500.00"
},
"account": "USDC",
"counterparty": "<string>",
"paymentReference": "<string>",
"remitter": "<string>",
"txHash": "<string>",
"tag": "<string>",
"hasAttachments": false,
"description": "<string>",
"explorerUrl": "<string>",
"traceNumber": "<string>",
"attachmentIds": [
"<string>"
]
}{
"error": {
"code": "invalid_request",
"message": "<string>",
"details": {}
}
}Retrieve one transaction
Retrieve one ledger transaction with detailed counterparties, payment references and attachments visible to the selected account.
curl --request GET \
--url https://api.example.com/transactions/{transactionId} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.example.com/transactions/{transactionId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.example.com/transactions/{transactionId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"type": "<string>",
"status": "pending",
"isIncome": true,
"createdAt": "2023-11-07T05:31:56Z",
"id": "txn_9f2c1ab84d7e4f1fa3c65b0e7d9a2c41",
"from": {
"amount": "500.00",
"currency": "<string>",
"usdRate": "500.00"
},
"to": {
"amount": "500.00",
"currency": "<string>",
"usdRate": "500.00"
},
"fee": {
"amount": "500.00",
"currency": "<string>",
"usdRate": "500.00"
},
"account": "USDC",
"counterparty": "<string>",
"paymentReference": "<string>",
"remitter": "<string>",
"txHash": "<string>",
"tag": "<string>",
"hasAttachments": false,
"description": "<string>",
"explorerUrl": "<string>",
"traceNumber": "<string>",
"attachmentIds": [
"<string>"
]
}{
"error": {
"code": "invalid_request",
"message": "<string>",
"details": {}
}
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
The client account to act for, as a cl_… id. Omit it to act as yourself.
"cl_9f2c1ab84d7e4f1fa3c65b0e7d9a2c41"
Path Parameters
Prefixed transaction id
Response
Successful Response
Public transaction type.
Current transaction lifecycle status.
pending, rfi, success, failed, refunded Whether this transaction increases the selected account's balance.
UTC timestamp when the transaction was created.
Stable public identifier for this transaction.
^(?:txn_)?[A-Za-z0-9._:\-]{1,216}$"txn_9f2c1ab84d7e4f1fa3c65b0e7d9a2c41"
Source side of the transaction.
Show child attributes
Show child attributes
Destination side of the transaction.
Show child attributes
Show child attributes
Fee side of the transaction, when charged.
Show child attributes
Show child attributes
The client's account this transaction moved, e.g. USDC_ARB for USDC on Arbitrum.
USDC, EURC, RD, USDC_ARB, FDIC_USD, KYC_CARDS Human-readable counterparty name.
Reference or memo associated with the transfer.
Originator information reported by the payment network.
On-chain transaction hash associated with this ledger entry.
Public transaction classification tag.
Whether supporting documents are attached.
Human-readable description supplied for this transaction.
Public blockchain-explorer URL for the transaction.
Account-transfer or payment-network trace identifier.
Supporting document identifiers.
Was this page helpful?