Activate subscription plan
POST
/v1/subscriptions/plans/{id}/activateActivates one particular subscription plan for clients. This does not activate the subscription plan on the customer's account, but it activates the subscription plan allowing the customer to make a purchase the subscription. The merchant cannot activate the plan on behalf of the customer.
Plan has to be added and saved beforehand. Within a single subscription plan, one product can be included (one plan, one product). There can be multiple plans for the same product. The plans can differ by some parameters such as trial period, fee charge day, activation fee, amount, currency, interval count or interval unit etc. It is unable to activate more than one subscription plan at a time.
Request
An unique identifier
A unique identifier generated by requesting client
Request samples
Responses
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"merchantId": "string",
"shopId": "string",
"terminalId": "string",
"status": true,
"trialPeriodDays": 0,
"chargeDay": 1,
"setupFee": "string",
"amount": "string",
"currency": "str",
"intervalUnit": "day",
"intervalCount": 1,
"totalCount": 0,
"chargeRetry": true,
"productId": "dcd53ddb-8104-4e48-8cc0-5df1088c6113",
"createdAt": "2019-08-24",
"updatedAt": "2019-08-24",
"deletedAt": "string"
}