billing

Cancel Subscription

Cancel subscription.

delete/api/v1/billing/subscription

Request

  • Base URL: https://api.gnosari.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.gnosari.com/api/v1/billing/subscription
  • Auth: one of:
    • HTTP bearer
    • API key in header X-AUTH-TOKEN

Request body

cancel_at_period_endboolean

If true, subscription ends at period end. If false, cancels immediately

feedbackstring nullable

Cancellation feedback

Response

Successful Response

status'active' | 'trialing' | 'past_due' | 'canceled' | 'incomplete' | 'incomplete_expired' required

Subscription status enum matching Stripe subscription statuses.

cancel_at_period_endboolean required
current_period_endstring date-time required
messagestring required

Changes

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