List captures
Changed onReturns a list of your captures. Optionally filter to a single checkout session with the checkout_session query parameter, and expand related objects (such as the payment intent) with expand.
Request
- Base URLhttps://api.withflex.com
- URLhttps://api.withflex.com/v1/captures
- AuthHTTP bearer
Query parameters
Comma-separated list of related objects to expand in the response (e.g., "payment_intent").
Filter captures by checkout session ID.
Response
An envelope wrapping a list of capture objects.
Example response
{
"captures": [
{
"amount_captured": 2500,
"amount_shipping_captured": 2500,
"amount_discount_captured": 2500,
"amount_tax_captured": 2500,
"capture_id": "fcap_01J9XR8M3K7VZ8N2YB4WJ6T0RA",
"created_at": "2026-06-15T14:30:00Z",
"items": [
{
"amount_captured": 2500,
"capture_item_id": "fcapi_01J9XR8M3K7VZ8N2YB4WJ6T0RA",
"created_at": "2026-06-15T14:30:00Z",
"price": "fprice_01J9XR8M3K7VZ8N2YB4WJ6T0RA",
"payment_intent": "fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA",
"test_mode": false
}
],
"metadata": {
"order_id": "8842",
"channel": "shopify"
},
"test_mode": false
}
]
}Changes
- warning
added the new
adaptiveShoesDependentenum value to the//////////////////////response property for the response status - warning
added the new
automatedCleanerenum value to the//////////////////////response property for the response status - warning
added the new
babyMonitorSplitenum value to the//////////////////////response property for the response status - warning
added the new
babySleepAppenum value to the//////////////////////response property for the response status - warning
added the new
bodyPillowenum value to the//////////////////////response property for the response status - warning
added the new
breathWorkDependentenum value to the//////////////////////response property for the response status - warning
added the new
coolingSleepwearenum value to the//////////////////////response property for the response status - warning
added the new
meneralsNootropicPouchenum value to the//////////////////////response property for the response status - warning
added the new
nonenalOdorenum value to the//////////////////////response property for the response status - warning
added the new
nursingChairsenum value to the//////////////////////response property for the response status - warning
added the new
speechHealthDependentenum value to the//////////////////////response property for the response status - warning
added the new
uvClothingenum value to the//////////////////////response property for the response status - warning
added the new
uvGlassesenum value to the//////////////////////response property for the response status - info
added the optional property
/////////////to the response with the status
- warning