You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can use the APIs below to interface with Xendit's Balance API.
To start using the API, you need to destruct instantiated Xendit client or directly import the module and set the secret key.
import{Xendit,BalanceasBalanceClient}from'xendit-node';constxenditClient=newXendit({secretKey: YOUR_SECRET_KEY})const{ Balance }=xenditClientconstxenditBalanceClient=newBalanceClient({secretKey: YOUR_SECRET_KEY})// At this point, `Balance` and `xenditBalanceClient` will have no usage difference, for example:// Balance.// or// xenditBalanceClient.
Retrieves balances for a business, default to CASH type