Update a checkout session
Updates configurable fields on an existing checkout session such as redirect URLs, 3DS requirement, customer details, metadata, and available payment methods.
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"
Body
Update an existing checkout session
Request body for updating a checkout session
Redirect URLs for checkout session
Deprecated and ignored. 3D Secure is enforced per channel; turn it on under Settings, Acceptance, Payment methods in the dashboard. Sending this field still succeeds and has no effect.
false
Standard one-time payment
"REGULAR""REGULAR"
Customer details to update
Additional metadata
Allowed payment methods
Credit or debit card
"card"Response
Checkout session updated.
Response returned after creating or updating a checkout session
Unique checkout session identifier
"550e8400-e29b-41d4-a716-446655440000"
Deprecated alias of id. Use id instead.
"550e8400-e29b-41d4-a716-446655440000"
URL for the hosted checkout page
"https://checkout.lite.sa/ses_a1b2c3d4e5f6"
Client secret for frontend SDK authentication
"cs_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"
Customer details
Order details
Channel ID for the session
"550e8400-e29b-41d4-a716-446655440000"
Online terminal the session's payment is taken through. Present for business accounts only.
"0b9d1c3e-6a51-4f6e-9a54-0f4f2b6e7d11"