CheckoutInput
- productsType: 1…requiredProperties: 2
The products on offer, each with its plans. With Stripe connected, a customer given and a single-use checkout offering only one plan (a product without
planscounts as one, its default plan), the customer goes straight to paying for it on Stripe Checkout. - successType: stringFormat: uri
Url requiredWhere the customer goes once they have paid or started. Must be http or https.
{CHECKOUT_ID}is replaced with the checkout's ID when it is created, and{CHECKOUT_SESSION_ID}with the session's ID when the customer finishes. - cancelType: stringFormat: uri
Url Where Stripe Checkout's back link sends a customer who leaves without paying. Must be http or https; takes the same placeholders. Default,
successUrl. - collectType: boolean
Address Require a billing address on Stripe Checkout.
- collectType: boolean
Phone Ask for a phone number on Stripe Checkout.
- currencyType: string
ISO 4217 code to price the checkout in. Default, each plan's own currency.
- customType: array of object
Cards Properties: 1Cards of your own content to show on the checkout page, returned as sent.
- customerType: string
Id The customer the checkout is for, by Spondo Billing ID.
- expiresType: stringFormat: date-time
At When the link stops working; must be in the future. Default, 24 hours from now.
- externalType: string
Customer Id The customer the checkout is for, by your ID (case-insensitive). A customer with this ID is created if you have none. Ignored when
customerIdis set. Leave both out and the customer gives a name and billing email on the checkout page, which creates them. - metadataType:Properties: 1
Your own key-value data, kept with the record and returned as sent.
- singleType: boolean
Use Close the checkout once one customer completes it. A multi-use checkout stays
activeuntil it expires or you archive it, sends each customer through your hosted checkout page, and gives each customer who completes it their own order. - successType: string
Message min length:1max length:500The message under it. Default, "This checkout is complete."
- successType: string
Title min length:1max length:80The heading the checkout page shows once the checkout is completed. Default, "You're all set".