Affinity API 1.0 Help

Query account balances

An account has two types of balances, namely availableBalance and totalBalance. Both balances are displayed with four decimal places. Below is the description

Balance

Description

1.

availableBalance

It is the total amount that can be transferred

2.

totalBalance

It is the total amount in account before any pending charges are added and balance limits are applied

Requests and responses

GET method/accounts/{accountNumber}/query

Retrieve an account name using the account number

Request parameters

Responses

{ "accountName": "example", "status": "SUCCESS", "statusCode": "00" }
[ { "message": "example", "code": "example", "field": "example" } ]
{ "message": "example" }
Last modified: 27 August 2025