Accounts

Retrieve an account

Retrieves an account by ID.

GET
/accounts/{id}

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

id*string

Response Body

application/json

curl -X GET "https://api.sandbox.billingrails.com/v1/accounts/acc_IhMUl3rrZ3"
{
  "account": {
    "object": "account",
    "id": "acc_IhMUl3rrZ3",
    "type": "individual",
    "name": "John Doe",
    "email": "john@example.com",
    "country": "NG",
    "created_at": "2025-02-14T17:33:40.843Z",
    "default_currency": "USD",
    "external_id": "test_account",
    "timezone": "UTC",
    "invoice_settings": {
      "grace_period_days": 0,
      "net_term_days": 30,
      "number_prefix": "INV"
    },
    "metadata": null
  },
  "meta": {
    "request_id": "req_IhMUl3rrZ3"
  }
}