v2
latestOpenAPI 3.1.02026-08-054181117.0 KBCreate Stripe Checkout Session
Create a Stripe Checkout Session for purchasing credits with Isometric verification. This endpoint returns a Stripe Checkout URL to redirect the user to for completing the payment.
post/stripe/checkout
Headers
x-client-secretstring required
A secret token identifying the client connecting to the API
Example:Syou3EZiO5vuMEgNyBeA8cjEMYOnQDwP
A secret token identifying the client connecting to the API
Request body
Example request
{
"quantity_kg": 1000,
"isometric_terms_and_conditions_accepted": true,
"supplier_terms_and_conditions_accepted": true,
"customer_email": "test@example.com",
"success_url": "https://example.com/success",
"cancel_url": "https://example.com/cancel"
}Response
Successful Response