Subscriptions

Cancel Subscription

Changed on

Cancels a subscription immediately or at the end of the current period. A past due subscription is always cancelled immediately, so the gateway stops retrying the unpaid cycle.

post/v1/shops/{shopId}/subscriptions/{subscriptionId}/cancel

Request

Request body

at_period_endboolean nullable

Example request

{
  "at_period_end": true
}

Changes