Billing

Preview subscription cancellation

Changed on

Preview period-end subscription cancellation without changing billing state.

post/billing/subscription-cancellation/preview

Request

  • Base URL: https://api.sazabi.com/v1
  • URL: https://api.sazabi.com/v1/billing/subscription-cancellation/preview
  • Auth: none declared

Request body

organizationIdstring

Organization to operate on. Auto-filled from CLI and SDK context when omitted. User tokens must supply it unless the credential's fixed scope resolves it; secret keys may omit it (the key's organization applies).

Response

OK

effectiveAtstring date-time required
currentBalancestring required
servicePolicy'active_until_period_end' required
creditPolicy'dormant_until_resubscription' required
scheduledFinalChargestring nullable required
autoTopUpEnabledboolean required
calculatedAtstring date-time required

Changes

    • info

      added the required property / to the response with the status

    • info

      added the required property /// to the response with the status

    • info

      added the required property // to the response with the status