GET
/
api
/
v1
/
checkout-sessions
List Checkout Sessions
curl --request GET \
  --url https://app.flowglad.com/api/v1/checkout-sessions \
  --header 'Authorization: <api-key>'
{
  "data": [
    {
      "id": "<string>",
      "createdAt": "<string>",
      "updatedAt": "<string>",
      "livemode": true,
      "status": "open",
      "billingAddress": {
        "name": "<string>",
        "firstName": "<string>",
        "lastName": "<string>",
        "email": "jsmith@example.com",
        "address": {
          "name": "<string>",
          "line1": "<string>",
          "line2": "<string>",
          "city": "<string>",
          "state": "<string>",
          "postal_code": "<string>",
          "country": "<string>"
        },
        "phone": "<string>"
      },
      "priceId": "<string>",
      "purchaseId": "<string>",
      "invoiceId": "<string>",
      "quantity": -1,
      "organizationId": "<string>",
      "customerName": "<string>",
      "customerEmail": "<string>",
      "customerId": "<string>",
      "paymentMethodType": "card",
      "discountId": "<string>",
      "successUrl": "<string>",
      "cancelUrl": "<string>",
      "type": "<string>",
      "preserveBillingCycleAnchor": true,
      "outputMetadata": {},
      "outputName": "<string>",
      "targetSubscriptionId": "<any>",
      "automaticallyUpdateSubscriptions": "<any>"
    }
  ],
  "currentCursor": "<string>",
  "nextCursor": "<string>",
  "hasMore": true,
  "total": 123
}

Authorizations

Authorization
string
header
required

Query Parameters

cursor
string
limit
string

Response

Successful response

data
object[]
required
hasMore
boolean
required
total
number
required
currentCursor
string
nextCursor
string