A Subscription Plan
resource is a template with set recurring costs and frequencies that can be reused across multiple Subscription
resources.
Create a Subscription Plan
resource to group and manage recurring payments for individual Subscription
resources. You can create a Subscription Plan
with or without a trial period.
Finix-Version | string Default: 2018-01-01 Specify the API version of your request. For more details, see Versioning. Example: 2022-02-01 |
amount required | integer <int64> The total amount that will be debited in cents (e.g. 100 cents to debit $1.00). |
currency required | string ISO 4217 3-letter currency code. Currently, the only |
plan_name required | string A human-friendly name for the |
description | string A description of the |
linked_to required | string The ID of the At this time, only approved merchants with one of the following processors are valid:
|
linked_type required | string The type of the resource that is specified in the |
nickname | string A human-readable name for the resource. |
billing_interval required | string How often the customer subscriber is billed. |
required | object Object containing default billing settings. |
object Object containing default trial settings. |
A single Subscription Plan
object.
Authentication information is missing or invalid
Forbidden
Object does not exist
Invalid field
{- "id": "subscription_plan_ciMZKcqAJQyZBgJ1krzU5",
- "created_at": "2025-01-02T05:55:43.96Z",
- "updated_at": "2025-01-02T05:55:43.96Z",
- "amount": 19900,
- "billing_defaults": {
- "collection_method": "BILL_AUTOMATICALLY",
- "send_invoice": false,
- "send_receipt": false
}, - "billing_interval": "MONTHLY",
- "currency": "USD",
- "description": "A basic API portal account with the least features.",
- "linked_to": "MU7noQ1wdgdAeAfymw2rfBMq",
- "nickname": null,
- "plan_name": "API portal - Basic",
- "state": "ACTIVE",
- "tags": { },
- "trial_defaults": {
- "interval_type": "DAY",
- "interval_count": 30
}, - "_links": {
}
}
Retrieve a list of Subscription Plans
.
For details on how to query endpoints using the available parameters, see Query Parameters.
Finix-Version | string Default: 2018-01-01 Specify the API version of your request. For more details, see Versioning. Example: 2022-02-01 |
A list of Subscription Plans
objects
Authentication information is missing or invalid
Forbidden
Object does not exist
Invalid field
curl "https://finix.sandbox-payments-api.com/subscription_plans" \ -H "Finix-Version: 2022-02-01" \ -u USfdccsr1Z5iVbXDyYt7hjZZ:313636f3-fac2-45a7-bff7-a334b93e7bda
{- "_embedded": {
- "subscription_plans": [
- {
- "id": "subscription_plan_ciN148MyTuQwYZbG9F4v1",
- "created_at": "2025-01-02T05:59:47.30Z",
- "updated_at": "2025-01-02T05:59:47.30Z",
- "amount": 19900,
- "billing_defaults": {
- "collection_method": "BILL_AUTOMATICALLY",
- "send_invoice": false,
- "send_receipt": false
}, - "billing_interval": "MONTHLY",
- "currency": "USD",
- "description": "A basic API portal account with the least features.",
- "linked_to": "MUaC9hbNvRwBoCJzqrjWk69N",
- "nickname": null,
- "plan_name": "API portal - Basic",
- "state": "ACTIVE",
- "tags": { },
- "trial_defaults": null,
- "_links": {
}
}, - {
- "id": "subscription_plan_ciN13T34mgeJSEEPSHGch",
- "created_at": "2025-01-02T05:59:43.85Z",
- "updated_at": "2025-01-02T05:59:43.85Z",
- "amount": 19900,
- "billing_defaults": {
- "collection_method": "BILL_AUTOMATICALLY",
- "send_invoice": false,
- "send_receipt": false
}, - "billing_interval": "MONTHLY",
- "currency": "USD",
- "description": "A basic API portal account with the least features.",
- "linked_to": "MUaC9hbNvRwBoCJzqrjWk69N",
- "nickname": null,
- "plan_name": "API portal - Basic",
- "state": "ACTIVE",
- "tags": { },
- "trial_defaults": null,
- "_links": {
}
}, - {
- "id": "subscription_plan_ciMZKcqAJQyZBgJ1krzU5",
- "created_at": "2025-01-02T05:55:43.96Z",
- "updated_at": "2025-01-02T05:55:43.96Z",
- "amount": 19900,
- "billing_defaults": {
- "collection_method": "BILL_AUTOMATICALLY",
- "send_invoice": false,
- "send_receipt": false
}, - "billing_interval": "MONTHLY",
- "currency": "USD",
- "description": "A basic API portal account with the least features.",
- "linked_to": "MU7noQ1wdgdAeAfymw2rfBMq",
- "nickname": null,
- "plan_name": "API portal - Basic",
- "state": "ACTIVE",
- "tags": { },
- "trial_defaults": {
- "interval_type": "DAY",
- "interval_count": 30
}, - "_links": {
}
}, - {
- "id": "subscription_plan_ciLn19pSKDTFoehtH7ETg",
- "created_at": "2025-01-01T09:13:18.70Z",
- "updated_at": "2025-01-01T09:13:18.70Z",
- "amount": 19900,
- "billing_defaults": {
- "collection_method": "BILL_AUTOMATICALLY",
- "send_invoice": false,
- "send_receipt": false
}, - "billing_interval": "MONTHLY",
- "currency": "USD",
- "description": "A basic API portal account with the least features.",
- "linked_to": "MUaC9hbNvRwBoCJzqrjWk69N",
- "nickname": null,
- "plan_name": "API portal - Basic",
- "state": "ACTIVE",
- "tags": { },
- "trial_defaults": null,
- "_links": {
}
}
]
}, - "_links": {
}, - "page": {
- "limit": 100,
- "next_cursor": "subscription_plan_ciLn19pSKDTFoehtH7ETg"
}
}
Retrieve the details of a previously created Subscription Plan
.
Finix-Version | string Default: 2018-01-01 Specify the API version of your request. For more details, see Versioning. Example: 2022-02-01 |
A single Subscription Plan
object.
Authentication information is missing or invalid
Forbidden
Object does not exist
Invalid field
curl "https://finix.sandbox-payments-api.com/subscription_plans/subscription_plan_ciLn19pSKDTFoehtH7ETg" \ -H "Finix-Version: 2022-02-01" \ -u USfdccsr1Z5iVbXDyYt7hjZZ:313636f3-fac2-45a7-bff7-a334b93e7bda
{- "id": "subscription_plan_ciMZKcqAJQyZBgJ1krzU5",
- "created_at": "2025-01-02T05:55:43.96Z",
- "updated_at": "2025-01-02T05:55:43.96Z",
- "amount": 19900,
- "billing_defaults": {
- "collection_method": "BILL_AUTOMATICALLY",
- "send_invoice": false,
- "send_receipt": false
}, - "billing_interval": "MONTHLY",
- "currency": "USD",
- "description": "A basic API portal account with the least features.",
- "linked_to": "MU7noQ1wdgdAeAfymw2rfBMq",
- "nickname": null,
- "plan_name": "API portal - Basic",
- "state": "ACTIVE",
- "tags": { },
- "trial_defaults": {
- "interval_type": "DAY",
- "interval_count": 30
}, - "_links": {
}
}
Update an existing Subscription Plan
.
Options:
update_existing_subscriptions
to true
to update existing subscriptions.Subscription Plan
by setting its state
to INACTIVE
.Finix-Version | string Default: 2018-01-01 Specify the API version of your request. For more details, see Versioning. Example: 2022-02-01 |
A single Subscription Plan
object.
Authentication information is missing or invalid
Forbidden
Object does not exist
Invalid field
{- "id": "subscription_plan_ciLn19pSKDTFoehtH7ETg",
- "created_at": "2025-01-01T09:13:18.70Z",
- "updated_at": "2025-01-02T06:01:31.41Z",
- "linked_to": "MUaC9hbNvRwBoCJzqrjWk69N",
- "linked_type": "MERCHANT",
- "billing_interval": "MONTHLY",
- "nickname": "API portal - Basic plan",
- "plan_name": "API portal - Basic",
- "description": "A starter plan with minimal features",
- "amount": 19900,
- "currency": "USD",
- "billing_defaults": {
- "collection_method": "BILL_AUTOMATICALLY",
- "send_invoice": false,
- "send_receipt": false
}, - "trial_defaults": null,
- "state": "ACTIVE",
- "tags": { },
- "_links": {
}
}