Pricing
post/v1/plans

Request

  • Base URL: http://localhost:8080
  • URL: http://localhost:8080/v1/plans
  • Auth: HTTP bearer

Request body

codestring required
namestring required
currencystring required
billing_interval'monthly' | 'yearly' required
base_amount_centsinteger
base_bill_timing'in_advance' | 'in_arrears'

Optional. Defaults to in_arrears. See Plan.base_bill_timing for semantics (ADR-031).

meter_idsstring[]

Response

Plan created

Changes