POST
/
stripe
/
checkout
Create Stripe Checkout Session
curl --request POST \
  --url https://api.sandbox.isometric.com/registry/v0/stripe/checkout \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'x-client-secret: <x-client-secret>' \
  --data '{
  "cancel_url": "https://example.com/cancel",
  "customer_email": "test@example.com",
  "frequency": "monthly",
  "isometric_terms_and_conditions_accepted": true,
  "quantity_kg": 1000,
  "success_url": "https://example.com/success",
  "supplier_terms_and_conditions_accepted": true
}'
{
  "redirect_url": "<string>"
}

Authorizations

Authorization
string
header
required

A JWT Bearer token header for authentication and authorization, in the format Authorization: Bearer <token>

Headers

x-client-secret
string
required

A secret token identifying the client connecting to the API

Examples:

"Syou3EZiO5vuMEgNyBeA8cjEMYOnQDwP"

Body

application/json

Response

200
application/json

Successful Response

The response is of type object.