Utilities
Get a single deposit by id
Returns one of the authenticated client's deposits by its stable id, in the same item shape as GET /deposits. Scoped to the caller's tenant: an unknown id and another tenant's id are both a 404.
get/deposits/{id}
Path parameters
idstring required
Deposit id. Returned by GET /deposits.
Example:12345
Deposit id. Returned by GET /deposits.
Headers
x-api-keystring
API key for authentication (omit when sending Authorization)
Example:your-api-key
API key for authentication (omit when sending Authorization)
authorizationstring
Bearer platform token (e.g. forwarded by user-service). Takes precedence over x-api-key when both are present.
Example:Bearer eyJhbGciOi...
Bearer platform token (e.g. forwarded by user-service). Takes precedence over x-api-key when both are present.
Response
The deposit
Example response
{
"id": "12345",
"tokenSymbol": "USDC",
"tokenDecimals": 6,
"targetTokenSymbol": "USDC",
"targetTokenDecimals": 6,
"amount": "1000000000000000000",
"sourceAmount": "1000000000000000000",
"destinationAmount": "1000000000000000000",
"sponsoredGasUsd": "0.42",
"sponsoredBridgeFeeUsd": "0.13"
}