Payments
Create Purchase URL
Changed onCreates a secure checkout URL for purchasing a product.
post/payments/purchases/create-purchase-url
Request
- Base URLhttps://api.hexclave.com/api/v1
- URLhttps://api.hexclave.com/api/v1/payments/purchases/create-purchase-url
- Authnone declared
Request body
Example request
{
"customer_type": "user",
"customer_id": "user_1234567890abcdef",
"product_id": "prod_premium_monthly",
"return_url": "https://myapp.com/purchase-success"
}Response
Successful response
Changes
- info
the request property
/became nullable - info
the request property
/became nullable - info
the request property
/became nullable
- info
- breaking
request property
was restricted to a list of enum values - breaking
request property
/was restricted to a list of enum values - breaking
the
//request property type changed fromnumbertointeger - info
added the new
customenum value to the request property - info
added the new
customenum value to the request property/ - info
added the new
teamenum value to the request property - info
added the new
teamenum value to the request property/ - info
added the new
userenum value to the request property - info
added the new
userenum value to the request property/
- breaking