Consult Balance
About this guide
This guide quickly demonstrates how to consult your balance available for payouts in EBANX. We will walk you through the basic steps to achieve this goal using your already existing Direct API integration.
How it works
Consult a payout using the /ws/payout/balance end-point
To consult your available balance, you will use the /ws/payout/balance endpoint.
Your integration key is the only required parameter.
curl -X POST 'https://sandbox.ebanxpay.com/ws/payout/balance' \-d 'integration_key=your_test_integration_key'And a successful call will return a JSON Object with type "success" and your available balance.
{"type": "success","currency_code": "USD","balance": 150}It is possible to query whether there is a balance for a different
currency_code
:curl -X POST 'https://sandbox.ebanxpay.com/ws/payout/balance?currency_code=BRL' \-d 'integration_key=your_test_integration_key'{"type": "success","currency_code": "BRL","balance": 490}And, also, look up the consolidated balance of the previous days (only
CrossBorder
environment, actually):curl -X POST 'https://sandbox.ebanxpay.com/ws/payout/balance?date=2020-01-02' \-d 'integration_key=your_test_integration_key'{"type": "success","currency_code": "USD","date": "2020-01-02","balance": 291}
Consulting Balance via Dashboard
You can also consult your available balance through your Dashboard in the Overview section of the Payout tab.
Getting help
We hope this article was enlightening, but in case we’ve failed to take out your doubts you have the following options to keep on seeking for answers:
- If you’re not our partner yet and would like to know more about our prices and conditions please fill ou this form and our comercial team will get in touch with you.
- In case you’re already our partner please get in touch with our support team at integration@ebanx.com.