POST
/
accounts
curl --request POST \
  --url https://api.chargeapi.co/v1/accounts \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "email": "<string>",
  "type": "individual",
  "default_currency": "<string>",
  "metric_system": "metric",
  "plan": "<string>",
  "preferences": {
    "billing_cycle": null,
    "notifications": null,
    "default_currency": null,
    "default_payment_method": null,
    "reporting_enabled": null,
    "report_frequency": null
  },
  "metadata": {}
}'
{
  "id": null,
  "object": null,
  "business_type": null,
  "billing_details": {
    "billing_address": {
      "city": null,
      "country": null,
      "line1": null,
      "line2": null,
      "postal_code": null,
      "state": null
    }
  },
  "contact": {
    "email": null,
    "name": null,
    "phone": null
  },
  "created": null,
  "default_currency": null,
  "description": null,
  "email": null,
  "metadata": null,
  "metric_system": null,
  "name": null,
  "plan": null,
  "preferences": {
    "billing_cycle": null,
    "notifications": null,
    "default_currency": null,
    "default_payment_method": null,
    "reporting_enabled": null,
    "report_frequency": null
  },
  "registration_number": null,
  "type": null,
  "updated": null,
  "wallet_balance": null
}

Body

application/json

Response

200
application/json

Returns the newly created Account object.