Cobalt Docs
Api referenceAccounts

Get account

Fetch a single account by identifier.

GET
/accounts/{id}

Authorization

bearerAuth
AuthorizationBearer <token>

Cobalt API key (prefix ck_live_). Issue from dashboard → Settings → API keys.

In: header

Path Parameters

id*string

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/accounts/string"
{
  "balance": 0,
  "creditLimit": 0,
  "currency": "USD",
  "id": "string",
  "institution": "string",
  "mask": "string",
  "name": "string",
  "type": "bank"
}
{
  "code": "string",
  "error": "string"
}
{
  "code": "string",
  "error": "string"
}
{
  "error": {
    "issues": [
      {
        "code": "string",
        "message": "string",
        "path": [
          "string"
        ]
      }
    ],
    "name": "string"
  },
  "success": true
}