billing

Cancel Subscription

Cancel subscription and downgrade to free plan.

In dev mode, directly sets user plan to free. In production, cancels the Stripe subscription.

post/api/v1/billing/cancel

Request

  • Base URL: https://api.badgeia.com
  • URL: https://api.badgeia.com/api/v1/billing/cancel
  • Auth: none declared

Response

Successful Response

dev_modeboolean
planstring required

Example response

{
  "user": {
    "email": "user@example.com"
  }
}

Changes

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