Transactions

post
Transactions

https://api.dapi.co/v1/data/Transactions
Request
Response
Headers
Authorization
required
string
Bearer <token>
Body Parameters
toDate
optional
string
Date to end transactions on ie "YYYY-MM-DD"
fromDate
optional
string
Date to start transactions from ie "YYYY-MM-DD"
userSecret
required
string
User Secret from Connect
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 transactions for
200: OK
// Asynchronous response
{
jobID: '25701700-ec8b-5d7e-8410-f260bb7a5139',
success: true,
msg: 'Job Initialized',
}
// Synchronous and Webhook Response
{
jobID: '25701700-ec8b-5d7e-8410-f260bb7a5139',
success: true,
msg: 'Job Finished',
result: {
transactions: [
{
date: '2019-10-31T00:00:00.000Z',
amount: 197,
currency: 'AED',
type: 'debit',
description: 'POS-PURCHASE',
details:
'SPORTS VILLAGE LEISURE DUBAI:AE-678767 29-10-2019 197.00,AED',
},
{
date: '2019-10-30T00:00:00.000Z',
amount: 255.8,
currency: 'AED',
type: 'debit',
description: 'POS-PURCHASE',
details:
'JORDANA RESTAURANT LLC DUBAI:AE-56787656 28-10-2019 255.80,AED',
},
{
date: '2019-10-29T00:00:00.000Z',
amount: 152.25,
currency: 'AED',
type: 'debit',
description: 'POS-PURCHASE',
details: 'LADS RESTAURANT DUBAI:AE-56786567 27-10-2019 152.25,AED',
},
{
date: '2019-10-05T00:00:00.000Z',
amount: 1478.2,
currency: 'AED',
type: 'debit',
description: 'TRANSFER',
details: 'DDR-8769567;OIC-676567-OIC Name-ADCB Islamic Banking Fina-DDS Pymt-45678765678'
}
...
]
}
}