Checkout Sessions
List CheckoutSessions
GET
/
api
/
v1
/
checkout-sessions
curl --request GET \
--url https://app.flowglad.com/api/v1/checkout-sessions \
--header 'Authorization: <api-key>'
{
"data": [
{
"id": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"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": 123,
"organizationId": "<string>",
"customerName": "<string>",
"customerEmail": "<string>",
"customerId": "<string>",
"paymentMethodType": "card",
"discountId": "<string>",
"successUrl": "<string>",
"cancelUrl": "<string>",
"type": "purchase",
"outputMetadata": {},
"outputName": "<string>",
"targetSubscriptionId": "null"
}
],
"currentCursor": "<string>",
"nextCursor": "<string>",
"hasMore": true,
"total": 123
}
Authorizations
Response
200
application/json
Successful response
The response is of type object
.
curl --request GET \
--url https://app.flowglad.com/api/v1/checkout-sessions \
--header 'Authorization: <api-key>'
{
"data": [
{
"id": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"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": 123,
"organizationId": "<string>",
"customerName": "<string>",
"customerEmail": "<string>",
"customerId": "<string>",
"paymentMethodType": "card",
"discountId": "<string>",
"successUrl": "<string>",
"cancelUrl": "<string>",
"type": "purchase",
"outputMetadata": {},
"outputName": "<string>",
"targetSubscriptionId": "null"
}
],
"currentCursor": "<string>",
"nextCursor": "<string>",
"hasMore": true,
"total": 123
}
Assistant
Responses are generated using AI and may contain mistakes.