Introduction

Authentication

Test cards

Establishments

Users

Customers

Cards

Payment links

Error codes

Payment Split

Products

Discount Coupons

Sales

Signatures

Webhooks

Financial


On this page:


POST Cancel a subscription

https://api.premepay.com/v1/stores/{storeId}/subscriptions/{:id}/reactivate

<aside> 💡 Do you already have a Subscription Plan? You will be able to enroll users in Subscription Plans once you have an existing Subscription Plan.

</aside>

After the subscription has been cancelled, it is possible to reactivate it. If the next billing date is not defined, it will be scheduled according to the frequency of the Plan associated with the subscription. Want to set the next billing date? No problem! Just send it in the body of the request, as shown below:

<aside> 💡 It is not possible to schedule a backdated charge. Future charges must be at least D+1.

</aside>

Parameters List

Parameter Type Description Required
nextPayment datetime Indicates when the next charge should be made after reactivation No

Request example

This is an example of how submitting your request to reactivate a subscription plan should look like.

Responses

If your request has invalid creation parameters - for example, specifying an invalid field or value - you may receive an error response. Below is the complete list of possible error responses:


Related Content


<aside> <img src="https://s3-us-west-2.amazonaws.com/secure.notion-static.com/52c5ff42-e8bf-45d3-81d1-b6e05786a688/POST.png" alt="https://s3-us-west-2.amazonaws.com/secure.notion-static.com/52c5ff42-e8bf-45d3-81d1-b6e05786a688/POST.png" width="40px" /> POST - Create plan

</aside>

<aside> <img src="https://s3-us-west-2.amazonaws.com/secure.notion-static.com/e3aeb85f-a7e2-40f4-b805-7e883e3d72e2/DELETE.png" alt="https://s3-us-west-2.amazonaws.com/secure.notion-static.com/e3aeb85f-a7e2-40f4-b805-7e883e3d72e2/DELETE.png" width="40px" /> DELETE - Delete plan customer

</aside>