Create Purchase Session
Payments
Create Purchase Session
Creates a purchase session for completing a purchase.
POST
Create Purchase Session
Documentation Index
Fetch the complete documentation index at: https://docs.hexclave.com/llms.txt
Use this file to discover all available pages before exploring further.
Body
application/json
Response
200 - application/json
Successful response
Stripe client secret used by the browser to confirm payment via Stripe Elements. Omitted when no payment step is required from the customer; in that case the purchase is being settled without a confirmation step and the caller should skip mounting Stripe Elements.
Example:
"1234567890abcdef_secret_xyz123"