v1
latestOpenAPI 3.1.02026-07-2684271522.2 KBSetup Intents
Get Setup Intent
Retrieves the details of an existing SetupIntent.
The response includes a fresh client_secret for confirming the SetupIntent from your frontend. Pass expand=subscription to inline the associated Subscription, when one exists.
get/v1/setup_intents/{id}
Path parameters
idstring required
Example:fseti_01J9XR8M3K7VZ8N2YB4WJ6T0RA
Query parameters
expandstring
Comma-separated list of fields to expand (e.g., "subscription").
Comma-separated list of fields to expand (e.g., "subscription").
Response
SetupIntent response with expandable subscription
Example response
{
"subscription": "fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA",
"setup_intent_id": "fseti_01J9XR8M3K7VZ8N2YB4WJ6T0RA",
"customer": "fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA",
"description": "Premium SPF 50 mineral sunscreen",
"payment_method": "fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA",
"partner_id": "facct_01J9XR8M3K7VZ8N2YB4WJ6T0RA",
"metadata": {
"order_id": "8842",
"channel": "shopify"
},
"created_at": "2026-06-15T14:30:00Z",
"test_mode": false,
"status": "requires_payment_method",
"usage": "off_session",
"subscription_id": "fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA"
}