Get Transaction

View as Markdown
Retrieves a specific transaction by transaction ID for the authenticated exchange app. **Authentication:** - **REQUIRED**: Provide client_id and client_secret via: - Basic Auth: `Authorization: Basic base64(client_id:client_secret)` - The `exchange_app_id` is automatically derived from authenticated credentials (not required in request) **Query Parameters:** - `transaction_id` (required): The transaction ID to lookup **Response:** - `transaction`: Transaction object (if found and belongs to authenticated exchange_app_id) **Returns 404 if transaction not found or doesn't belong to the authenticated exchange_app_id**

Authentication

AuthorizationBasic

Basic Auth: base64(client_id:client_secret)

Query parameters

transaction_idstringRequired
dpintegerOptional0-10Defaults to 2
Decimal places for monetary fields in the response (USD amounts, fees, exchange rates). Default 2, which rounds sub-cent fees to 0. Use dp=4 or higher to reconcile against exact deducted totals: at full precision amount_usd + percentage_fee + fixed_fee equals the amount deducted from your balance. Rounding is applied to the response only; all stored values and balance deductions always use full precision.

Response

OK
transactionobject

Errors

400
Bad Request Error
401
Unauthorized Error
404
Not Found Error