Create Setup Intent
Create Setup Intent
Creates a new setup intent for collecting payment method details.
POST
Create Setup Intent
Documentation Index
Fetch the complete documentation index at: https://docs.withflex.com/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Use a Bearer token to access this API.
Body
application/json
Example:
{
"partner_id": "obj_01EXAMPLE00000000000000000",
"checkout_session": "obj_01EXAMPLE00000000000000000"
}Response
Success
Example:
{
"setup_intent_id": "obj_01EXAMPLE00000000000000000",
"client_secret": "string",
"customer": "string",
"description": "string",
"payment_method": "string",
"partner_id": "obj_01EXAMPLE00000000000000000",
"metadata": {},
"created_at": "2024-01-01T00:00:00Z",
"test_mode": false,
"status": "requires_payment_method",
"usage": "off_session",
"subscription_id": "obj_01EXAMPLE00000000000000000"
}