Check session validity
Checks whether a checkout session is still valid (not expired, cancelled, or completed).
Authorizations
API key for service-to-service or merchant authentication.
Headers
Unique identifier for request tracing. Generated by the client or server if not provided.
"550e8400-e29b-41d4-a716-446655440000"
The business account to act on, for platform use cases. When sent, that account is the merchant for the request: resources are created under it, reads and 404 checks are scoped to it, and per-merchant uniqueness (such as merchant_reference_id) applies within it. The API key's own account is recorded as the account acting on its behalf. Omit it to act on the API key's own account.
"550e8400-e29b-41d4-a716-446655440000"
Path Parameters
Unique identifier of the checkout session
"550e8400-e29b-41d4-a716-446655440000"
Response
Checkout session validity status.
Whether the session is still valid
true
Session ID
"ses_a1b2c3d4e5f6"
Session is active and awaiting payment
"Pending""Pending"
Session expiry timestamp
"2026-05-18T12:00:00.000Z"
Order reference
"ORD-123456"
Session amount in minor units
10000
Currency code (ISO 4217)
"SAR"