Skip to main content

Balance

Getting the account balance.

To obtain the account balance information, it is necessary to make a GET request, providing the corresponding credentials through HEADERS.

URL

https://api.bembit.com/api/v1/users/balance

Method

GET

Params

Important

The parameters for this request should be passed to the end-point via headers.

ParamTypeDefault valuesDescription
apistringundefinedAPI Key obtained from the platform.
secretstringundefinedSecret obtained from the platform.

cURL

curl -X 'GET' \
'https://api.bembit.com/api/v1/users/balance' \
-H 'accept: application/json' \
-H 'api: {Your API}' \
-H 'secret: {Your secret}'

Server responses:

Status 200:

Success

Example value:

[
{
"currency": "BRL",
"amount": 0,
"blocked": 0
}
]

Status 403:

Unauthorized

See this in action on Swagger.