Skip to navigation

Create a setup intent

A Stripe SetupIntent for collecting a new payment method with Stripe’s Payment Element. Confirm it with stripe.confirmSetup; the method it saves joins the company’s methods on file.

Authentication

X-Schematic-Api-Keystring

A temporary access token in the X-Schematic-Api-Key header. Your server mints it with POST /temporary-access-tokens on the secret-key API for a company, optionally for one of its users, and hands it to the page. The token fixes the company every request reads and writes.

Response

Created
dataobject
paramsobject
Input parameters

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
500
Internal Server Error