Payment subscriptions API
Use this API to list and update recurring payment subscriptions created through the Morefin Singular recurring flow.
Prerequisites
Before using this API you must obtain an access token. Follow the Authentication guide.
Step 1: Obtain access token
Make a POST request to get the access token as described in the Authentication guide.
List payment subscriptions
Returns payment subscriptions.
curl --location 'BASE_URL/api/recurring/subscription?page=1&size=10' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer <access_token>'
Query parameters:
| Field | Required | Description |
|---|---|---|
page | no | Page number to return. |
size | no | Number of records per page. |
Example successful response:
{
"items": [
{
"id": "subscription-123",
"customer_id": "customer-123",
"customer_payment_method_id": "card-token-123",
"masked_card_number": "444433******1111",
"frequency": "monthly",
"amount": 1500,
"currency": "EUR",
"start_date": "2026-05-13T10:52:09Z",
"last_payment_date": "2026-05-13T13:38:01Z",
"next_payment_date": "2026-06-13T10:52:09Z",
"trial_period": "P7D",
"status": "ACTIVE",
"in_progress": false,
"payment_provider_id": "provider-id",
"payment_provider_account": "payment-provider-account-id",
"created_at": "2026-05-13T10:52:09Z",
"updated_at": "2026-05-14T10:29:05Z"
}
],
"item_count": 10,
"page": 1,
"count": 1,
"page_count": 1
}
Empty list response:
{
"items": [],
"item_count": 10,
"page": 1,
"count": 0,
"page_count": 0
}
Update payment subscription
Updates an existing payment subscription.
curl --location --request PUT 'BASE_URL/api/recurring/subscription/{id}' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer <access_token>' \
--data-raw '{
"frequency": "monthly",
"amount": 1500,
"start_date": "2026-05-13T10:52:09Z",
"trial_period": "P7D",
"status": "ACTIVE",
"customer_payment_method_id": "card-token-123"
}'
Path parameters:
| Field | Required | Description |
|---|---|---|
id | yes | Payment subscription ID. |
Request fields:
| Field | Required | Description |
|---|---|---|
frequency | no | Recurring interval. Supported fixed values are daily, weekly, monthly, annually. ISO-8601 durations such as P14D are also accepted. |
amount | no | Recurring MIT amount in minor units. |
start_date | no | Subscription start date in UTC. |
trial_period | no | Optional ISO-8601 trial duration, for example P7D. |
status | no | Subscription status. Common values are ACTIVE, PAUSED, and CANCELLED. |
customer_payment_method_id | no | Customer payment method ID to use for future recurring MITs. |
Example successful response:
{
"id": "subscription-123",
"customer_id": "customer-123",
"customer_payment_method_id": "card-token-123",
"masked_card_number": "444433******1111",
"frequency": "monthly",
"amount": 1500,
"currency": "EUR",
"start_date": "2026-05-13T10:52:09Z",
"last_payment_date": "2026-05-13T13:38:01Z",
"next_payment_date": "2026-06-13T10:52:09Z",
"trial_period": "P7D",
"status": "ACTIVE",
"in_progress": false,
"payment_provider_id": "provider-id",
"payment_provider_account": "payment-provider-account-id",
"created_at": "2026-05-13T10:52:09Z",
"updated_at": "2026-05-14T10:29:05Z"
}
Error responses
Unauthorized - when <access_token> is missing or invalid API’s response will be 401 Unauthorized with empty response body.