Accounts

Fetch an account

One account and its balances, scoped to your business and key's mode.

Before you call this endpoint

  • An API key needs the accounts:read scope.
  • Once your business has an IP allowlist, every live key must call from an address on it.
  • Guide: Sub-accounts
GET
/api/b/v1/accounts/{reference}

One account and its balances, scoped to your business and key's mode.

Path Parameters

reference*Reference

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/api/b/v1/accounts/string"
{  "reference": "acct_4f1c9a2b7d3e8f6a0b1c2d3e",  "label": "Salary",  "kind": "payroll",  "is_main": true,  "status": "active",  "frozen_by": "string",  "is_test": true,  "currencies": [    "USD",    "RWF"  ],  "balances": [    {      "currency": "string",      "balance_minor": 0    }  ],  "created_at": "2019-08-24T14:15:22Z",  "closed_at": "2019-08-24T14:15:22Z"}