Organization Billing

Apply a promo code to the organization's active subscription.

Every failure carries a reason (invalid / expired / exhausted / product mismatch / no subscription) — never a silent no-op.

post/v1/organizations/billing/apply-promo

Request

  • Base URL: https://api.mixpeek.com
  • URL: https://api.mixpeek.com/v1/organizations/billing/apply-promo
  • Auth: HTTP bearer

Request body

codestring required

Response

Successful Response

appliedboolean required
codestring required
percent_offnumber nullable
amount_off_centsinteger nullable
durationstring nullable
duration_in_monthsinteger nullable
expires_atinteger nullable

Changes

    • warning

      removed the optional property from the response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the optional 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

    • info

      the endpoint scheme security BearerAuth was added to the API