Skip to main content
GET
/
ledger
/
fees
/
balance
Saldo de taxas acumuladas do merchant
curl --request GET \
  --url https://api.astronpay.co/api/v1/ledger/fees/balance \
  --header 'x-api-key: <api-key>' \
  --header 'x-api-secret: <api-key>'
{
  "merchantId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "balance": "250.00",
  "currency": "BRL"
}

Authorizations

x-api-key
string
header
required
x-api-secret
string
header
required

Response

200 - application/json

OK

merchantId
string<uuid>
balance
string

Saldo em BRL com 2 casas decimais.

Example:

"250.00"

currency
string
Example:

"BRL"