Create a Subscription Plan
Changed onCreate 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.
Request
- Base URLhttps://finix.sandbox-payments-api.com
- AuthHTTP basic
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
Specify the API version of your request. For more details, see Versioning.
The data type being sent in the request body must be application/json.
Request body
Example request
{
"amount": 5000,
"billing_interval": "MONTHLY",
"discount_phase_defaults": {
"amount": 5000
}
}Response
A single Subscription Plan
Example response
{
"billing_interval": "MONTHLY",
"amount": 5000,
"discount_phase_defaults": {
"amount": 5000
}
}Changes
- info
added the optional property
to the response with the status
- info
- breaking
the request's body type changed from
objectto no type - warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- info
added to the request body
anyOflist
- breaking