cURL
curl --request GET \ --url https://api.ledger.so/v1/transactions/{transactionId} \ --header 'Authorization: Bearer <token>'
{ "ok": true, "data": { "id": "<string>", "customerId": "<string>", "type": "<string>", "status": "<string>", "amount": "<string>", "currency": "<string>", "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z", "sourceCurrency": "<string>", "destinationCurrency": "<string>", "destinationAddress": "<string>", "finalAmount": "<string>", "destinationTxHash": "<string>", "gasFee": "<string>", "exchangeFee": "<string>" } }
Retrieves a single transaction by ID.
Pass your API key as a Bearer token: Authorization: Bearer ld_live_...
Authorization: Bearer ld_live_...
The transaction ID
Transaction details
true
Show child attributes