GET
/
v1
/
setup_intents
List Setup Intents
curl --request GET \
  --url https://api.withflex.com/v1/setup_intents \
  --header 'Authorization: Bearer <token>'
{
  "setup_intents": [
    {
      "setup_intent_id": "<string>",
      "client_secret": "<string>",
      "customer": {
        "customer_id": "fcus_01HACM7FZ1084XB1GB6053VM0D",
        "first_name": "John",
        "last_name": "Doe",
        "email": "joh.doe@example.com",
        "phone": "+15555555555",
        "employer": "Flex",
        "shipping": {
          "shipping_address_id": "<string>",
          "line1": "<string>",
          "line2": "<string>",
          "city": "<string>",
          "state": "<string>",
          "postal_code": "<string>",
          "country": "<string>"
        },
        "metadata": {},
        "created_at": "<string>",
        "test_mode": true
      },
      "description": "<string>",
      "payment_method": "<string>",
      "partner_id": "<string>",
      "metadata": {},
      "created_at": "<string>",
      "test_mode": true,
      "status": "requires_payment_method",
      "usage": "off_session"
    }
  ]
}

Authorizations

Authorization
string
header
required

Use a Bearer token to access this API.

Query Parameters

limit
integer | null
offset
integer | null
customer
string | null
starting_after
string | null
ending_before
string | null

Response

200
application/json

The response is of type object.