Skip to main content
GET
/
ledger
/
account-balance
/
{account_id}
Account Balance
curl --request GET \
  --url https://{tenant}.fincode.software/api/v6/services/ledger/account-balance/{account_id} \
  --header 'X-Auth-Token: <x-auth-token>' \
  --header 'platform: <platform>' \
  --header 'uuid: <uuid>'
Fetches comprehensive account balance information including available balance, account balance, account status, and account details.

Request Headers

X-Auth-Token
string
required
The JWT Access Token obtained from the /login or /refresh-token endpoint.
x-fapi-auth-date
string
required
The date and time at which the request was initiated (ISO 8601 format).
x-fapi-customer-ip-address
string
required
The IP address of the customer making the request.
x-fapi-interaction-id
string
required
Unique identifier for the interaction/session.

Path Parameters

account_id
string
required
The unique identifier (UUID) of the account to query.

Code Examples

curl --location 'https://{domain}.fincode.software/api/v6/services/ledger/account-balance/123e4567-e89b-12d3-a456-426614174000' \
--header 'X-Auth-Token: YOUR_JWT_ACCESS_TOKEN' \
--header 'x-fapi-auth-date: 2024-01-15T10:30:00Z' \
--header 'x-fapi-customer-ip-address: 192.168.1.1' \
--header 'x-fapi-interaction-id: interaction-12345'

Headers

platform
string
default:fincode
required
uuid
string
default:200
required
X-Auth-Token
string
required

Path Parameters

account_id
string
required

Response

200

Account balance details