Account Balance

This API enable you to check your current balance.

📘

Environment for End Point URL

Please Replace the environment in the URL with:

When the environtment is sandbox, replace the {environment} with sandbox. so the URL will be https://sandbox.onebrick.io/v2/payments/gs

When the environment is production, replace the {environment} with api. so the URL will be https://api.onebrick.io/v2/payments/gs

Request parameters

Key ParametersData TypeDescription
publicAccessTokenStringOne time access-token generated using the auth token API

Response parameters

Key ParametersData typeDescription
brickPay BalanceNumberCurrent Balance of Brick Pay. Lowest amount is 0. Value Always positive.
brickFlex BalanceNumberCurrent Balance of Brick Pay. Lowest amount is 0. Value Always positive.
totalAvailableBalanceNumberThe total of brickPay Balance + brickFlex Balance. All balance that available & can be used.
Language
Credentials
Header
Click Try It! to start a request and see the response here!