support
Back to documentation
Search
Categories
Tags
main parametersexpand all
subscriptionId
required
paymentMethodToken
required
terminationDate
Try me
Documentation

Subscription/Cancel Web Service

POSThttps://api.systempay.fr/api-payment/V4/Subscription/Cancel

The Subscription/Cancel REST web service allows you to cancel a subscription.

The Subscription/Cancel web service does not cancel transactions that have already been created and are being processed.

When you request the cancellation of a subscription, you must check whether payments are already being processed (status: RUNNING).

For this, use the Order/Get web service.

If you consider that these payments should not be debited, use the Transaction/Cancel web service to cancel them.

Request parameters

paymentMethodToken

Token associated with a payment method.

Only tokens associated with a credit card are supported.

Format

subscriptionId

Recurring payment identifier.

Format

terminationDate

Recurring payment termination date.

Format

Response reference

The web service returns the following object:

Response Context
Common/ResponseCodeAnswer Object containing the return code of the web service.

The responseCode attribute may take one of the values below:

Code Label
0 Recurring payment successfully terminated
30 Token not found
32 Subscription not found
99 Undefined error