v1

latestOpenAPI 3.1.02026-07-262218115.4 KB

Cancel a subscription or bill associated with a linked merchant account.

post/subscriptions/{id}/cancel

Path parameters

idstring required
Example:ka8sdf0asdfm10as0a0sdfja7ssa8

The subscription ID from the subscription object.

Request body

simulate'failed'

The cancellation attempt fails after request validation.

Example request

{
  "simulate": "failed"
}

Response

Cancellation request accepted.

messagestring

Example response

{
  "message": "Success"
}