Skip to main content
Retrieve a voucher session by its ID.
GET /api/v1/vouchers/sessions/:sessionId Returns the state of a session, including its status and any vouchers reserved within it.

Parameters

Path

NameTypeRequiredDescription
sessionIdstringYesThe session ID

Request example

curl --request GET 'https://payments.bleepay.com/api/v1/vouchers/sessions/ses_xyz' \
  --header 'Authorization: Bearer <payee_token>'

Response

Response schema

FieldTypeDescription
idstringSession identifier
codestringSession code
statusstringSession status (OPEN, CLOSED)
typestringSession type
vouchersarrayVouchers reserved within this session
createdAtstringISO 8601 creation timestamp
updatedAtstringISO 8601 last update timestamp

Example response

{
  "id": "ses_xyz",
  "code": "D4E5F6",
  "status": "OPEN",
  "type": "payment",
  "vouchers": [],
  "createdAt": "2026-06-09T12:00:00.000Z",
  "updatedAt": "2026-06-09T12:00:00.000Z"
}

Error responses

StatusCodeDescription
401unauthorizedMissing or invalid bearer token
404not_foundSession not found