POST
/
v1
/
companies
/
{company_id}
/
accounts
curl --request POST \
  --url https://api.gofermata.com/v1/companies/{company_id}/accounts/ \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "email": "<string>",
  "metadata": {},
  "stripe_id": "<string>",
  "plan_id": "<string>",
  "plan_variable_amounts": {},
  "enable_card_collector": true
}'
{
  "data": {
    "id": "string",
    "name": "string",
    "email": "string",
    "company_id": "string",
    "plan_id": "string",
    "plan_renewal_cadence": "string",
    "stripe_id": "string",
    "created_at": "string",
    "updated_at": "string",
    "metadata": {},
    "last_plan_renewal": "2019-08-24T14:15:22Z",
    "next_plan_renewal": "2019-08-24T14:15:22Z",
    "plan_status": "string",
    "flags": [
      {}
    ]
  }
}

Authorizations

Authorization
string
header
required

To authenticate against the API, use HTTP Basic Authentication with your customer ID as the username and API key as the password.

Path Parameters

company_id
string
required

Body

application/json

Response

200 - application/json

The response is of type object.