Payments
Create Purchase Session
Changed onCreates a purchase session for completing a purchase.
post/payments/purchases/purchase-session
Request
- Base URLhttps://api.hexclave.com/api/v1
- URLhttps://api.hexclave.com/api/v1/payments/purchases/purchase-session
- Authnone declared
Request body
Example request
{
"full_code": "proj_abc123_def456ghi789",
"price_id": "price_1234567890abcdef",
"quantity": 1
}Response
Successful response
Example response
{
"client_secret": "1234567890abcdef_secret_xyz123",
"stripe_intent_type": "payment"
}Changes
- info
added the optional property
to the response with the status
- info
- breaking
the response property
became optional for the status
- breaking