Account

post
UserAccounts

https://api.dapi.co/v1/data/UserAccounts
Request
Response
Request
Headers
Authorization
required
string
Bearer <accessToken>
Body Parameters
userSecret
required
string
User Secret from connect
addresses
optional
array
Specify which webhook URL(s) defined in app settings to send data to. If empty, an update will be sent to all defined webhook urls
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
Response
200: OK
// Synchronous and Webhook Response
{
"jobID": "864183f9-5f0d-44f0-8ee4-29a22ef5b45a",
"success": true,
"msg": "Job Finished",
"result": {
"success": true,
"msg": "Accounts retrieved successfully",
"accounts": [
{
"iban": "GB33BAEDB20201555555893",
"accountNumber": "0201555555893",
"currency": "AED",
"accountType": "current",
"id": "JRLLZ61yD60bACpJwMrQDUABKwtVH2nNs705L/kjiGk29aFpjyLqInaTZg4FG6BytYoToEyJqjbcFgOQq44m4g=="
}
]
},
"done": true
}
202: Accepted
// Asynchronous response
{
"jobID": "83515136-9146-523a-9936-3229d51fd49d",
"msg": "Job Intitalized",
"success": null
}
422: Unprocessable Entity
{
"msg": "Parameters validation error!",
"success": false,
"field": "appSecret",
"err": "The 'appSecret' field is required!"
}