- Retrieves a subscription payment history
GET {{baseURL}}/sub-api/v1/subscriptions/{{subscriptionId}}/payments
This endpoint retrieves a history of payments for a specified subscription.
See Also:
To list a merchant's subscriptions, see GET /sub-api/v1/subscriptions.
To create a subscription, see POST /sub-api/v1/subscriptions.
To retrieve a subscription by ID, see GET /sub-api/v1/subscriptions/{subscriptionId}.
To terminate a subscription, see PUT /sub-api/v1/subscriptions/{subscriptionId}/terminate.
Specifies the page number of the returned search results.
A page is considered each set of the pageSize value.
The maximum page value is the pageSize divided by the total count rounded up. The count is zero-based. For example, if pageSize is 50 and the total is 130, there are three pages. The maximum page value is 2.
Values above the maximum page value will complete successfully but not return any items.
Example: 0
Specifies the number of items for each page of the returned search results.
A page is considered each set of the pageSize value.
The maximum page value is the pageSize divided by the total count rounded up. The count is zero-based. For example, if pageSize is 50 and the total is 130, there are three pages. The maximum page value is 2.
Example: 50
Specifies leaving out completed and planned payments from the history list.
The retrieved payment history list could excluded previously completed and planned payments.
If true, leaves out completed and planned payments.
If false, includes completed and planned payments. This includes in-progress, failed, pending, or actionable payments.
Example: true
- Mock serverhttps://developer.flute.com/_mock/api-reference/sub-api/v1/subscriptions/{subscriptionId}/payments
- Sandbox environmenthttps://sandbox.api.flute.com/sub-api/v1/subscriptions/{subscriptionId}/payments
- Production environmenthttps://api.flute.com/sub-api/v1/subscriptions/{subscriptionId}/payments
curl -i -X GET \
'https://developer.flute.com/_mock/api-reference/sub-api/v1/subscriptions/79c0d1e2-3f4a-4b5c-6d7e-8f9a0b1c2d58/payments?page=0&pageSize=15&hideCompletedAndPlanned=true' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'OK
Indicates the date-time (in an ISO 8601 date-time UTC format) of the subscription's initial execution.
Examples: 2026-02-19T20:24:52.934Z
Indicates the subscription status identifier.
Possible values:
| Value | Meaning |
|---|---|
| 1 | Active |
| 2 | Completed |
| 3 | Suspended |
| 4 | Delinquent |
| 5 | Terminated |
| 6 | Deleted |
Example: 2
Indicates the subscription status.
Possible values:
| Value | Meaning |
|---|---|
| Active | 1 |
| Completed | 2 |
| Suspended | 3 |
| Delinquent | 4 |
| Terminated | 5 |
| Deleted | 6 |
Example: Completed
{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "initialExecutionDateTime": "2026-02-19T20:24:52.934Z", "statusId": 2, "status": "Completed", "amount": 129.99, "paymentOrder": 748411, "attempts": [ { "id": "35e6f7a8-9b0c-4d1e-2f3a-4b5c6d7e8f14", "executionDateTime": "2026-02-19T20:24:52.934Z", "statusId": 2, "status": "Completed", "transactionStatusId": 2, "transactionStatus": "Captured", "transactionId": "0e0034bd-028f-4809-b185-f4cca086eb33" } ] }