Skip to main content
POST
/
v1
/
billing
/
cancel
Cancel Subscription Endpoint
curl --request POST \
  --url https://api.example.com/v1/billing/cancel \
  --header 'Authorization: Bearer <token>'
{
  "status": "<string>",
  "message": "<string>",
  "active_until": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

200 - application/json

Successful Response

Subscription cancellation result.

status
string
required

Cancellation status: 'canceled'.

message
string
required

Human-readable cancellation confirmation message.

active_until
string | null

ISO 8601 datetime until which the user retains access. Null if unknown.