Skip to main content
POST
Cancel Subscription

Key Points

Cancel a Subscription

  • This API cancels a subscription, stopping all future billing and services for the customer. Once cancelled, the subscription cannot be resumed.
  • Canceling a subscription typically reflects the customer’s request to terminate the service or end the billing agreement.

Subscription Status

  • After cancellation, the subscription status changes to cancelled.
  • The cancellation becomes effective immediately, and no further billing cycles will be processed.

Required Parameters

  • Subscription ID: The unique identifier of the subscription to be resumed.

Flow diagram

Flow diagram image

Api Parameters

Authorizations

Authorization
string
header
required

API Key for Authorization. Format: 'Basic YOUR_API_KEY_HERE'

x-api-key
string
header
required

API Key specific to x-api-key.

Path Parameters

subscription_id
string
required

The Subscription ID of the subscription. Example: 664dc930-88bd-4696-8807-5e0f1fedba0b. The unique Subscription ID of the subscription.

Maximum string length: 36

Response

200 - application/json

A successful response indicating the subscription has been canceled.

success
boolean

Indicates whether the operation was successful.

Example:

true

status_code
integer

The HTTP status code of the response.

Example:

200

is_live
boolean

Indicates if the transaction is live or a test transaction.

Example:

false

gateway_response
object

Response details from the gateway.

subscription_details
object

Details of the canceled subscription.