client/v1/customer/balance

[GET] /client/v1/customer/balance

Get customer balance using client admin endpoint

The client admin customer balance endpoint in Avenu's API will retrieve the available and current balances of a customer account, based on the provided customer account number. This endpoint is only authorized for client access tokens.

Example [GET] Request

{{avenu_base_url}}/client/v1/customer/balance/{customerAccountNumber}

Input Parameters

ParameterLength RestrictionsFormat RestrictionsRequired (Y/N)Type
customerAccountNumberExactly 16 digitsNo special characters ("!"#$%'*+.:;<=>?@[]^_`{|}~")YString

Example Response

{
    "customerAccountNumber": "",
    "availableBalance": xxxxx,
    "currentBalance": xxxxx,
    "currency": "USD",
}

Response Elements

ElementMeaningReference
customerAccountNumberThe customer's sub-ledger account number
availableBalanceThe customer's current balance that is available to be used for transactions.
currentBalanceIn addition to the customer's available balance, the current balance also includes any pending transactions.
currencyThe three-letter ISO currency codeISO currency code

Errors

codeMessage
CH3009Invalid Format
CH3010Invalid Length
CH3011Missing Required Field
CH3012Does not exist