cURL
curl --request GET \ --url https://upay-sistema-api.onrender.com/api/v1/balance \ --header 'X-API-Key: <api-key>'
{ "message": "<string>", "balance": { "current": 123, "currency": "BRL", "lastUpdated": "2023-11-07T05:31:56Z" }, "recentEntries": [ { "id": "<string>", "type": "CREDIT", "reason": "<string>", "amount": 123, "createdAt": "2023-11-07T05:31:56Z" } ] }
Obtém o saldo atual e movimentações recentes
Chave de API obtida através do endpoint /api/credentials. Também aceita formato Bearer Token: Authorization: Bearer <api_key>
Saldo obtido com sucesso
Show child attributes