Skip to main content
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

NameTypeRequiredDescription
sessionIdstringYesThe deposit session ID

Request example

curl --request GET 'https://payments.bleepay.com/api/v1/widgets/deposit-sessions/dep_a1b2c3d4e5f6' \
  --header 'X-Client-Secret: dep_secret_xyz...'

Response

Response schema

FieldTypeDescription
idstringSession identifier
paymentStatusstringStatus: CREATED, PENDING, CONFIRMED, EXPIRED, UNDERPAID, OVERPAID
amountstringPayment amount
currencystringCurrency symbol
networkstringBlockchain network
currencyAddressstringCurrency contract address
depositAddressstringDestination address
txIdstring or nullBlockchain transaction hash (set when PENDING or CONFIRMED)
expiresAtstringISO 8601 expiry timestamp
confirmedAtstring or nullISO 8601 confirmation timestamp

Example response

{
  "id": "dep_a1b2c3d4e5f6",
  "paymentStatus": "CONFIRMED",
  "amount": "100",
  "currency": "USDC",
  "network": "polygon",
  "currencyAddress": "0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174",
  "depositAddress": "0xMerchantWalletAddress",
  "txId": "0xabc123def456...",
  "expiresAt": "2026-06-09T12:30:00.000Z",
  "confirmedAt": "2026-06-09T12:05:00.000Z"
}

Error responses

StatusCodeDescription
401unauthorizedMissing or invalid authentication
404not_foundSession not found