Step 4 - Retrieve Balance details

Overview

After successful completion of the Balance Refresh job, you will be able to retrieve the most up-to-date information on the end user's bank balance.

Retrieve Identity Details

HTTP Request

Staging - GET https://api.staging.aerosync.com/v2/accounts/{{userId}}/balance

Production - GET https://api.aerosync.com/v2/accounts/{{userId}}/balance

Request Parameters

ParameterRequired?TypeDescription
idYesStringA user's account unique identifier

Request and Response

GET https://api.staging.aerosync.com/v2/accounts/{{userId}}/balance
Authorization: Bearer {{token}}

{
    "status": "success",
    "statusCode": 200,
    "account": {
        "availableBalance": 3124.25,
        "currentBalance": 3124.25,
        "lastRefreshTimeStamp": "2023-01-23 18:07:25.815355",
        "currency": "USD",
        "userId": "fdd3007a951b436c81e46ffe2483ea3a"
    }
}