Sazabi
APIBilling

Get checkout session status

GET
/billing/checkout-session/{sessionId}

Poll the completion status of a checkout session created by this organization.

Path Parameters

sessionId*string

The checkout session id returned by createCheckoutSession.

Length1 <= length

Query Parameters

organizationId?string

Organization to operate on. Auto-filled from CLI and SDK context when omitted. User tokens must supply it unless the credential's fixed scope resolves it; secret keys may omit it (the key's organization applies).

Length1 <= length

Response Body

application/json

curl -X GET "https://example.com/billing/checkout-session/string"
{  "status": "pending"}