Check session validity
Checks whether a checkout session is still valid (not expired, cancelled, or completed).
Note: this operation is served under the /api/v1/checkout-session basepath
(see the operation’s server URL), unlike the session create/read operations.
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"
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"