Billing
SMS

Set the 500-segment 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 COOPER_SMS is off, and also when COOPER_SMS_BILLING is not stripe. 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 500 outbound segments. Stripe prorates the change. The response is the new pack count, not a Checkout URL.

post/api/v1/billing/sms-segments

Request

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

Request body

packsinteger required

Response

Pack quantity now on the subscription.

object'sms_segment_packs' required
packsinteger required
previous_packsinteger required
segments_per_packinteger required
extra_segmentsinteger required
monthly_centsinteger required
lookup_key'cooper_sms_500_monthly' required

Changes

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