Creates a new setup intent for collecting payment method details.
Use a Bearer token to access this API.
{
"partner_id": "obj_01EXAMPLE00000000000000000",
"checkout_session": "obj_01EXAMPLE00000000000000000"
}Success
{
"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"
}