billing

Cancel Subscription

Cancel the current user subscription. Can cancel immediately or at the end of the billing period.

post/billing/cancel-subscription

Request

  • Base URL: https://api.aiapplyd.com/api/v1
  • URL: https://api.aiapplyd.com/api/v1/billing/cancel-subscription
  • Auth: HTTP bearer

Request body

cancelImmediatelyboolean

Whether to cancel immediately or at the end of the billing period

reasonstring

User-provided reason for cancelling the subscription

Example request

{
  "reason": "Too expensive"
}

Response

Subscription cancelled successfully

successtrue required

Example response

{
  "data": {
    "cancelAt": "2025-02-01T00:00:00.000Z",
    "cancelAtPeriodEnd": true,
    "canceledAt": "2025-01-15T12:00:00.000Z",
    "status": "active",
    "subscriptionId": "sub_1234567890"
  },
  "meta": {
    "duration": 150,
    "requestId": "req_abc123",
    "timestamp": "2026-10-13T10:27:20.268Z",
    "version": "v1"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.