Create Stripe Checkout Session
Changed onCreate 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.
Request
- Base URLhttps://api.isometric.com/registry/v0
- URLhttps://api.isometric.com/registry/v0/stripe/checkout
- AuthHTTP bearer
Headers
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": "user@example.com",
"success_url": "https://example.com/success",
"cancel_url": "https://example.com/cancel"
}Response
Successful Response
Changes
- breaking
the
/request property's minLength was increased from0to1 - breaking
the
/request property format changed from no format toemail - warning
the
/request property's maxLength was set to200
- breaking
- breaking
the
request property's minLength was increased from0to1 - breaking
the
request property's minLength was increased from0to1 - breaking
the
request property format changed from no format touri - breaking
the
request property format changed from no format touri - warning
the
request property's maxLength was set to2083 - warning
the
request property's maxLength was set to2083
- breaking