Create a setup intent
1 min
POST
https://app.amberflo.io/customer-portal/setup-intent
sessionTokenstring<p>A required session token used to authenticate API calls made on behalf of a customer. This token is obtained from the <code>Create a session</code> endpoint and must be included with every request to authorize access.</p>
bodyobject
200Successful response
curl --request POST \
--url 'https://app.amberflo.io/customer-portal/setup-intent?sessionToken=string' \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '{
"provider": "stripe"
}'Use this endpoint when registering the customer's payment credentials for future payments.
For more information, see: Stripe's SetupIntent.