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
Sandbox - GET <https://api.sandbox.aerosync.com/v2/accounts/{{userId}}/balance>
Staging - GET <https://api.staging.aerosync.com/v2/accounts/{{userId}}/balance>
Production - GET https://api.aerosync.com/v2/accounts/{{userId}}/balance
Request Parameters
Parameter | Required? | Type | Description |
---|---|---|---|
id | Yes | String | A user's account unique identifier |
Request and Response
GET https://api.sandbox.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"
}
}
Updated about 2 months ago