Deactivate subscription
Changed onUse this method to deactivate a subscription.
To deactivate a subscription, you need its subscriptionId, which you sent in the request of the Create Subscription method.
Note: If you don't have the subscriptionId, use our List Subscriptions method to search for the subscription.
If your request is successful, our gateway stops taking payments from the customer.
To reactivate the subscription, use our Reactivate Subscription method.
Request
- Base URLhttps://api.payroc.com/v1
- URLhttps://api.payroc.com/v1/processing-terminals/{processingTerminalId}/subscriptions/{subscriptionId}/deactivate
- AuthHTTP bearer
Path parameters
Unique identifier that we assigned to the terminal.
Unique identifier that the merchant assigned to the subscription.
Response
Successful request. We deactivated the subscription.
Changes
- breaking
the
//response property's maxLength was increased from100to255for the response status
- breaking
- warning
deleted the
headerrequest parameterAuthorization - info
the endpoint scheme security
Bearerwas added to the API
- warning