Balance

post
AccountBalance

https://api.dapi.co/v1/data/AccountBalance
Request
Response
Headers
Authorization
required
string
Bearer <token>
Body Parameters
addresses
optional
array
Webhook URL(s) to send data to. If empty an update will be sent to all webhook urls defined in app settings
sync
optional
boolean
true or false, if set the connection is maintained till the result is returned
appSecret
required
string
App Secret from the dashboard
iban
required
string
The IBAN of the account to retrieve
200: OK
// Asynchronous response
{
jobID: '2a8472ed-b913-5fd9-8dfe-7833ac14379d',
msg: 'Job Initialized'
success: null
}
// Synchronous and Webhook Response
{
jobID: '2a8472ed-b913-5fd9-8dfe-7833ac14379d',
success: true,
msg: 'Job Finished',
result: {
accountBalance: {
balance: 1072.05,
currency: 'AED',
accountNumber: '106666666001'
}
}
}