Wallet
Call the Wallet API to request balance wallet.
GET /balance
# Without parameters
curl -v --location --request GET 'https://sandbox.smartfastpay.com/balance' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer <Access-Token>' \'
# With parameters
curl -v --location --request GET 'https://sandbox.smartfastpay.com/balance?currency=USD' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer <Access-Token>' \'
Parameter
Type
Description
currency
string (3)
min: 3 | max: 3
This parameter is optional, if currency isn't provided it will return all currencies. Eg.: USD
# All Currencies
{
"requestId": "167ffff1-b58b-4d1b-909e-ff714c594967",
"data": [
{
"currency": "BRL",
"balance": 517488.21
},
{
"currency": "USD",
"balance": 53.62
}
]
}
# One Currency
{
"requestId": "167ffff1-b58b-4d1b-909e-ff714c594967",
"data": [
{
"currency": "BRL",
"balance": 517488.21
}
]
}
Parameter
Description
currency
The currency type that the amount.
balance
Balance value.