🚀 VaultsPay API v1 is live. See what's new →
AccountsGet Account By ID

Get Account By ID

GET{baseUrl}/be/api/v1/accounts/{id}

Path Parameter

ParameterTypeRequiredDescription
idIntegerYesAccount ID to fetch.
200 — SUCCESS
{
  "data": {
    "id": 12,
    "userId": 3,
    "accountType": "DIGITAL",
    "currencyCode": "AED",
    "currency": {
      "createdAt": "2024-10-07T04:56:49.699+00:00",
      "createdBy": null,
      "updatedAt": null,
      "updatedBy": null,
      "id": 2,
      "name": "United ARAB EMIRATE",
      "code": "AED",
      "isoCode": 784,
      "decimalPoint": 2,
      "type": "FIAT",
      "symbol": null,
      "icon": null,
      "status": true
    },
    "accountTitle": "VAULTSPAY CUSTOMER",
    "accountNumber": "30132278593204",
    "balance": 0,
    "balanceOnHold": 0,
    "totalTransactions": 0,
    "status": "ACTIVE",
    "references": [],
    "iban": null,
    "isPrimary": true,
    "creditLimit": 1000
  }
}