Docs
PTENES Website Sign up

RecurrenceCancel recurrence

Cancel recurrence

POST/v1/recurrency/:id/cancelhttps://api.securitypag.com

Authentication: Bearer · API key

Use the v1/recurrency/:id/cancel route to end a recurrence. No new charge is generated and the charge that was scheduled ends with it, without a notice of its own. Only an ACTIVE recurrence can be cancelled.

Path parameters

  • idstringrequired

    Id of the recurrence to cancel.

This route takes no request body.

Responses

200Recurrence cancelled. No future charges are generated.
403The store is not allowed to use recurrence for this charge method.
409The recurrence is not active. Only an ACTIVE recurrence can be cancelled.
  • messagestring

    Error description message.

404Recurrence not found in this store.

Something wrong on this page? Talk to us