Bank Account Details

Overview

In order to retrieve account details, you will first need to have a user successfully complete the bank authentication flow. You will also need to have the user's connectionid to retrieve bank account details.

Retrieve an Account's Details

HTTP Request

Sandbox - GET [https://api.sandbox.aerosync.com/v2/accounts/{{connectionId}}

Production - GET [http://api.aerosync.com/v2/accounts/{{connectionId}}

Request Parameters

ParameterRequired?TypeDescription
connectionIdYesStringAerosync-specific connectionId received from the SDK onSuccess

Request and Response

GET http://api.sandbox.aerosync.com/v2/accounts/{{connectionid}} 
Authorization: Bearer {{token}}

{
    "status": "success",
    "statusCode": 200,
    "account": {
        "accountNickname": "Aerosync Test Bank",
        "accountNumber": "00100000987654321",
        "routingNumber": "000000111",
        "accountNumberDisplay": "2901",
        "accountNumberType": "Tokenized",
        "accountType": "CHECKING",
        "bankName": "Chase",
        "canFetchBalance": true,
        "connectionMethod": 6,
        "connectionStatus": "CONNECTED",
        "connectionExpiry": "2026-01-02T15:47:48Z"
    }
}

Response Fields

FieldDescriptionData TypeExampleAvailable Options
accountNicknameThe user-defined or bank-defined name for the accountStringAerosync Test Bankn/a
accountNumberThe full, sensitive bank account number used for transactionsString00100000987654321n/a
routingNumberThe 9-digit code identifying the specific financial institution in the USString000000111n/a
accountNumberDisplayA masked or partial version of the account number (usually the last 4 digits) for safe display in UIString2901n/a
accountNumberTypeDescribes the format of the accountNumber (e.g., "Tokenized" means the number is a secure proxy rather than the raw digits)StringTokenizedTokenized, Non-tokenized
accountTypeThe category of the financial accountStringcheckingchecking, savings
bankNameThe formal name of the institution where the account is heldStringChasen/a
canFetchBalanceA boolean (true/false) indicating if the API has permission to pull the current dollar balanceBooleantruetrue, false
connectionMethodAn internal integer code representing how data was retrieved. Only used for support inquiriesString61, 2, 3, 4, 5, 6
connectionStatusThe current state of the link between Aerosync and the bankStringConnectedconnected, failure
connectionExpiryAn ISO 8601 timestamp showing when the current authorization between Aerosync and the bank for this account is expected to expireString2026-01-02T15:47:48Zn/a