Skip to main content
GET
/
accounts
/
{accountId}
Retrieves account information for the authenticated entity.
curl --request GET \
  --url https://api.nuvion.tech/accounts/{accountId} \
  --header 'Authorization: <authorization>'
{
  "message": "Account retrieved successfully",
  "status": 200,
  "data": {
    "account": {
      "id": "01HJ5G6R7MXW5ZK2QD6YA8N9F3",
      "entity_id": "01HJ5G6R7MXW5ZK2QD6YA8N9F4",
      "balance_id": "01HJ5G6R7MXW5ZK2QD6YA8N9F5",
      "type": "checking",
      "currency": "USD",
      "display_name": "Business Account",
      "meta": {},
      "config": {
        "is_overdraftable": false,
        "overdraft_limit": 0
      },
      "created": 1693584000000,
      "updated": 1693584000000,
      "balance": {
        "overdraft_used": 0,
        "current": 1000.5,
        "available": 950.25
      }
    },
    "entity": {
      "id": "01HJ5G6R7MXW5ZK2QD6YA8N9F4",
      "name": "Acme Corporation",
      "type": "business",
      "verification_status": "verified"
    },
    "account_details": [
      {
        "id": "01HJ5G6R7MXW5ZK2QD6YA8N9F6",
        "entity_id": "01HJ5G6R7MXW5ZK2QD6YA8N9F4",
        "account_id": "01HJ5G6R7MXW5ZK2QD6YA8N9F3",
        "account_number": "1234567890",
        "routing_number": "987654321",
        "description": "Primary account details",
        "issuer": {
          "name": "Example Bank",
          "code": "EXBNK",
          "address": "123 Banking St, Finance City",
          "meta": {}
        },
        "config": {
          "outflow_enabled": true,
          "inflow_enabled": true,
          "outflow_allowed_counterparties": [],
          "inflow_allowed_counterparties": []
        },
        "status": "active",
        "created": 1693584000000,
        "updated": 1693584000000
      }
    ],
    "pinned_status": {
      "is_pinned": true,
      "pinned_at": 1693584000000,
      "pinned_by_count": 1
    },
    "counterparties_summary": {
      "total_active": 3,
      "total_inactive": 1,
      "recent_activity": 3
    },
    "compliance_status": {
      "risk_level": "low",
      "sanctions_status": "clear",
      "monitoring_level": "standard",
      "last_reviewed": 1672531500000,
      "flags": []
    }
  }
}

Headers

Authorization
string
required

Authorization header: Bearer {jwt or Secretkey}

Path Parameters

accountId
string
required

The unique identifier (ULID) of the account to retrieve

Response

Successful operation

message
string
required

A descriptive message indicating the result of the operation

status
string
required

The status of the API operation (successful, error, failed, pending)

data
object
required

The data returned from the operation