Checkout Sessions
Flex API Reference
Welcome to the Flex API reference docs. Here you'll find all the endpoints exposed by Flex, learn how to use them and what they return.
API Endpoint
https://api.withflex.com
List Checkout Sessions
Returns a list of Checkout Sessions.
Parameters
No parameters available.
get/v1/checkout/sessions
RESPONSE
[]
Create Checkout Session
Creates a Checkout Session object.
Parameters
No parameters available.
post/v1/checkout/sessions
RESPONSE
[]
Get Checkout Session
Retrieves a Session object.
Parameters
No parameters available.
get/v1/checkout/sessions/{id}
RESPONSE
[]
Get Line Items
Returns a list of line items corresponding to a checkout session.
Parameters
No parameters available.
get/v1/checkout/sessions/{id}/line_items
RESPONSE
[]