action'create_subscription' | 'modify_subscription' | 'wallet_topup' | 'add_addon' | 'pay_invoice'
cancelled_atstring date-time
checkout_invoice_idstring
checkout_payment_idstring
checkout_status'initiated' | 'pending' | 'completed' | 'failed' | 'expired'
completed_atstring date-time
created_atstring date-time
expires_atstring date-time
next_poll_after_msinteger
NextPollAfterMs is how long a client should wait before reading again.
Zero means stop — either the session is terminal, or this response did not
come from a polling read.
payment_provider'razorpay' | 'chargebee' | 'stripe'
staleboolean
Stale reports that this response is stored state that was not checked against
the payment provider on this request — the read was debounced, or the gateway
did not answer. A UI should say "still checking" rather than presenting a
stale answer as fact.
terminalboolean
Terminal reports whether the session has finished. Clients poll until this is
true rather than hardcoding the status set, which would go stale if a status
is ever added.
updated_atstring date-time