Subscription/Cancel Web Service
POSThttps://api.lyra.com/api-payment/V4/Subscription/Cancel
The Subscription/Cancel REST web service allows you to cancel a subscription.
Use the Web Service
To cancel them, use the Web Service
Input parameters
paymentMethodToken
Token associated with a payment method.
Format
subscriptionId
Recurring payment identifier.
Format
terminationDate
Recurring payment termination date.
Format
Response reference
The web service returns the following object:
Response | Context |
---|---|
Object containing the return code of the web service. |
The responseCode attribute may take one of the values below:
Code | label |
---|---|
Recurring payment successfully terminated | |
Token not found | |
Subscription not found | |
Undefined error |