Create checkout session
Authorizations
Enter your API key in the format x-api-key <api-key>*
Body
Checkout session to create
Response
Created
create_subscription CheckoutInvoiceID and CheckoutPaymentID are set once the apply step creates the corresponding Flexprice entities (completed sessions only).
initiated, pending, completed, failed, expired ExpiresAt is required. A Temporal timer fires at this time for any session still in initiated|pending, marking it expired. The caller must create a new session after expiry (expire-and-restart model).
FailureReason is a human-readable string set on failed sessions.
IdempotencyKey is caller-supplied. It is unique only while the session is active (initiated|pending). The same key may be reused once the session reaches a terminal state (completed|failed|expired).
razorpay published, deleted, archived Redirect URLs sent to the payment provider. The provider redirects the user browser to the appropriate URL after the payment flow completes.

