Create subscription plan
POST /api/subscriptions/v1/plans
Create a subscription plan.
Authorizations
Section titled “Authorizations ”Request Body
Section titled “Request Body ”object
Plan name.
Example
My plan name.Description for the plan.
Example
My plan descriptionPlan price in main currency units. For example, value of 30 equals 30 UAH plan price.
Example
30A list of api keys and URLs for subscription update callbacks.
object
Example
1621d352-b5cc-4336-96b0-d7666a3d9b4fExample
https://some-callback.url/processCurrency in ISO 4217 format.
Example
UAHA list of other platforms that can access this plan.
Example
[ "e4b10684-51fa-4206-8ce5-547e3764fc59", "080e373e-468a-489d-a611-572dd5da4529"]The time interval type of a plan period. For example, to set a plan period for 4 weeks use frequency=4 and frequency_type=weekly.
Example
weeklyThe number of frequency_types in a single plan payment period. For example, to set a plan payment period for 4 weeks use frequency=4 and frequency_type=weekly.
Example
4The number of frequency_types in a plan duration period. For example, to set a plan duration period for 6 months use frequency=1, frequency_type=monthly, duration_periods=6.
Example
6Plan start date-time in RFC3339 format.
Example
2025-07-16T12:00:03ZOptional end date-time for the plan in RFC3339 format.
Example
2026-02-13T17:50:02ZResponses
Section titled “ Responses ”object
Plan creation date-time in RFC3339 format. Time is returned in UTC timezone. Immutable.
Example
2025-07-14T12:00:03ZCurrency in ISO 4217 format.
Example
UAHDescription for the plan.
Example
My plan descriptionOptional end date for the plan in RFC3339 format, time is omitted.
Example
2026-02-13T00:00:00ZThe time interval type of a plan period. For example, to set a plan period for 4 weeks use frequency=4 and frequency_type=weekly.
Example
weeklyThe number of frequency_types in a single plan payment period. For example, to set a plan payment period for 4 weeks use frequency=4 and frequency_type=weekly.
Example
4The number of frequency_types in a plan duration period. For example, to set a plan duration period for 6 months use frequency=1, frequency_type=monthly, duration_periods=6.
Example
6Plan identifier.
Example
69b2e00f-b837-4cda-a0d8-2ae3ba431409Plan name.
Example
My plan name.A list of other platforms that can access this plan.
Example
[ "e4b10684-51fa-4206-8ce5-547e3764fc59", "080e373e-468a-489d-a611-572dd5da4529"]Plan price in main currency units. For example, value of 30 equals 30 UAH plan price.
Example
30Plan start date-time in RFC3339 format, time is omitted.
Example
2025-07-14T00:00:00ZLast date-time of plan data update in RFC3339 format. Time is specified in UTC timezone.
Example
2025-07-14T12:00:03Z