List the application's payments
GET
Most recent first. Only returns the payments of the API key's application.
ApiKeyBearerheader
AuthorizationBearer <sk_test_… | sk_live_…>The application's API key. sk_test_…: sandbox, no money moves. sk_live_…: real.
state?stringKeep only this state.
Value in
"CREATED""AWAITING_CUSTOMER""PROCESSING""SUCCEEDED""FAILED""EXPIRED""CANCELED"payment_link_id?stringKeep only payments opened by this payment link.
Format
uuidreference?stringKeep only payments whose reference contains this text (case-insensitive), 128 characters at most.
Length
length <= 128from?stringStart of the range, included: ISO 8601 instant (2026-11-03T00:00:00+00:00). Compute it in your time zone.
Format
date-timeto?stringEnd of the range, excluded: ISO 8601 instant, after from (otherwise 400 invalid_request).
Format
date-timepage?integerPage number, from 0.
Range
0 <= valueDefault
0size?integerPage size, capped at 100.
Range
1 <= value <= 100Default
20The requested page (empty past the last one).
application/json- response
A page of a list. items has fewer than size elements on the last page.
page*integersize*integertotal*integerTotal number of elements.
total_pages*integeritems*array<>curl -X GET 'https://api.flowpay.example/api/v1/payments'Example Response
{ "page": 0, "size": 20, "total": 135, "total_pages": 7, "items": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "state": "CREATED", "mode": "LIVE", "merchant_reference": "string", "amount": "5000", "amount_minor": 5000, "currency": "XOF", "description": "string", "metadata": {}, "networks": [ "BF_ORANGE" ], "network": "BF_ORANGE", "checkout_url": "string", "expires_at": "2019-08-24T14:15:22Z", "succeeded_at": "2019-08-24T14:15:22Z", "created_at": "2019-08-24T14:15:22Z", "attempts": [ { "attempt_no": 1, "state": "CREATED", "provider_key": "LIGDICASH", "route_reason": "LOWEST_COST", "route_cost_minor": 0, "failure_class": "CUSTOMER_DECLINED", "created_at": "2019-08-24T14:15:22Z", "settled_at": "2019-08-24T14:15:22Z" } ], "next_action": "NONE", "redirect_url": "string" } ]}