POST
/
v1
/
companies
/
{company_id}
/
plans
curl --request POST \
  --url https://api.gofermata.com/v1/companies/{company_id}/plans \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "string",
  "charge_amount": 0,
  "charge_denomination": "string",
  "billing_period": "string",
  "rollover": true,
  "balances": [
    {
      "amount": "string",
      "denomination": "string",
      "overage_charge_amount": 0,
      "overage_charge_denomination": "string",
      "auto_refill_amount": 0,
      "auto_refill_threshold": 0
    }
  ]
}'

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

company_id
string
required

Body

application/json

Response

200

OK