Skip to main content
POST
Subscription cancel

Body

application/json

Subscription cancel request

subscriptionId
string
required

Waffo subscription Id

Maximum string length: 64
Example:

"<subscriptionId>"

merchantId
string
required

Merchant Id assigned by Waffo

Maximum string length: 64
Example:

1000000201

requestedAt
string<date-time>
required

Merchant-side cancel request time

scheduledCancelAt
string<date-time>

Schedule the cancellation at this time instead of cancelling immediately. Leave it empty to cancel immediately. Must not be later than the subscription end time. If the subscription has no end time, it must be within 2 years from now. Contact Waffo technical support to enable this field before using it.

Response

200 - */*

OK

response data

code
string
Example:

0

msg
string
Example:

"success"

data
object