curl --request GET \
--url https://api.hevn.finance/dapi/v1/transactions/{transactionId} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.hevn.finance/dapi/v1/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.hevn.finance/dapi/v1/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"
},
"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.hevn.finance/dapi/v1/transactions/{transactionId} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.hevn.finance/dapi/v1/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.hevn.finance/dapi/v1/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"
},
"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
Platform access token from POST /auth/token, carrying the platform audience and the developer_key_id of the registration that minted it. It acts as your own account; name a client you created with X-Hevn-Account: cl_…. Every request re-checks that the registration is still active and that the caller's source IP is inside its allowlist. A token is valid only against the server that issued it, so sandbox tokens are refused in production and production tokens in the sandbox.
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
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?