Check the status of a deposit session.
GET /api/v1/widgets/deposit-sessions/:sessionId
Returns the current state of a deposit session, including whether the payment has been detected on-chain and confirmed.
This endpoint accepts either a JWT bearer token or the session’s client secret via X-Client-Secret header.
Parameters
Path
| Name | Type | Required | Description |
|---|---|---|---|
sessionId | string | Yes | The deposit session ID |
Request example
Response
Response schema
| Field | Type | Description |
|---|---|---|
id | string | Session identifier |
paymentStatus | string | Status: CREATED, PENDING, CONFIRMED, EXPIRED, UNDERPAID, OVERPAID |
amount | string | Payment amount |
currency | string | Currency symbol |
network | string | Blockchain network |
currencyAddress | string | Currency contract address |
depositAddress | string | Destination address |
txId | string or null | Blockchain transaction hash (set when PENDING or CONFIRMED) |
expiresAt | string | ISO 8601 expiry timestamp |
confirmedAt | string or null | ISO 8601 confirmation timestamp |
Example response
Error responses
| Status | Code | Description |
|---|---|---|
401 | unauthorized | Missing or invalid authentication |
404 | not_found | Session not found |