Pular para o conteúdo

Use these API operation to fetch ledger transactions and check balances.

OperationMethodDescription
Get balancesGETView your existing balances
Get ledger transactionsGETView your ledger transactions.

Get available balances

Requisição

Segurança
Bearer
Consulta
currencystring

The currency for which you want to get the balance.

curl -i -X GET \
  'https://docs.ripple.com/_mock/pt-br/products/payments-direct-2/v2025.11/api-docs/payments-direct-api/payments-direct-2-api/v2/balances?currency=string' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>'

Respostas

Successful response containing balance details.

Corpoapplication/json
timestampstring, (date-time)obrigatório

Timestamp of the balance response.

Exemplo:"2025-01-10T00:00:00.000000Z"
balancesArray of objectsobrigatório

List of available prefund balances.

Resposta
{ "timestamp": "2025-01-10T00:00:00.000000Z", "balances": [ { … } ] }