Skip to content

Cancel Subscription

Cancel a subscription immediately. The status becomes canceled and no further renewals are recorded; the customer keeps their license until it expires.

POST /v1/subscriptions/:id/cancel

Path Parameters

ParameterDescription
idSubscription ID

Response

json
{
  "data": {
    "message": "Subscription canceled"
  }
}

Example

bash
curl -X POST "https://api.packedge.dev/v1/subscriptions/sub_xxx/cancel" \
  -H "Authorization: Bearer pk_your_api_key"