Billing
Voice

Set the 250-minute packs on the subscription

Requires billing_write on the parent account. A sub-account key is HTTP 403 workspace_billing_forbidden. HTTP 404 not_found when voice is off, and also when voice billing is off. Starter or Pro with a Stripe subscription is required (HTTP 402 plan_limit_exceeded otherwise). packs replaces the previous quantity, from 0 to 100. Each pack is $10/month and adds 250 voice minutes. The Stripe price lookup key is cooper_voice_250_monthly. That price is not created by npm run stripe:setup. Stripe prorates the change. The response is the new pack count, not a Checkout URL.

post/api/v1/billing/voice-minutes

Request

  • Base URL: https://cooperemail.com
  • URL: https://cooperemail.com/api/v1/billing/voice-minutes
  • Auth: HTTP bearer

Request body

packsinteger required

Response

Pack quantity now on the subscription.

object'voice_minute_packs' required
packsinteger required
previous_packsinteger required
minutes_per_packinteger required
extra_minutesinteger required
monthly_centsinteger required
lookup_key'cooper_voice_250_monthly' required

Changes

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