GET
/
accounts
/
{account}
Retrieve an account
curl --request GET \
  --url https://api.chargeapi.co/v1/accounts/{account} \
  --header 'Content-Type: application/json' \
  --data '{}'
{
  "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
}

Path Parameters

account
string
required

ID of the account to retrieve.

Query Parameters

expand
string[]

Specifies related objects to expand in the response (e.g., expand[]=billing_details).

Body

application/json · object

Response

200
application/json

Returns the Account object for a valid identifier. Raises an error otherwise.