Retrieve a capture
Changed onRetrieves the details of a capture. Use the expand query parameter to inline related objects (such as the payment intent).
Request
- Base URLhttps://api.withflex.com
- URLhttps://api.withflex.com/v1/captures/{capture_id}
- AuthHTTP bearer
Path parameters
Query parameters
Comma-separated list of related objects to expand in the response (e.g., "payment_intent").
Response
An envelope wrapping a single capture object.
Example response
{
"capture": {
"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