dapi 2.12.0 dapi: ^2.12.0 copied to clipboard
Financial APIs to connect users' bank accounts.
2.0.0 #
- Initial release
2.0.1 #
- Minor fixes
2.1.0 #
- Updated with the latest native SDKs
- Added listeners onBankRequest, onConnectDismissed, onTransferUiDismissed
- Added postSuccessfulConnectionLoadingText
2.2.0 #
- Added support for Dapi Wire endpoints.
2.4.0 #
- Added configurations showTransferSuccessfulResult, showTransferErrorResult to control showing Dapi result UI after transfer attempt.
2.5.0 #
- Added onTransferUiWillSend stream. Invoked when the user is about to send money using Dapi UI.
2.6.0 #
- Added getParameters and createConnection functions.
2.7.0 #
- Various bug fixes
2.8.0 #
- Various bug fixes
2.9.0 #
- General improvements
- Increased default timeout to 135 seconds
- Increased createTransfer and createWireTransfer endpoints timeout to 5 minutes.
2.9.1 #
- Fixed iOS crash caused by empty extraHeaderFields or extraBody
2.9.2 #
- Fixed iOS crash after connect layer failed
2.10.0 #
- Added reference and remark to CreateTransferResponse
2.10.1 #
- Android: Fixed manifest merger theme not found issue.
2.10.2 #
- iOS: Fixed colors in dark mode
2.10.3 #
- iOS: Minor improvement
2.11.0 #
- Added
DapiConnection#presentAccountSelection()
that can be used to open Dapi's Accounts Screen to allow your user to select an account - Added
DapiConnection#getTransactions(account, fromDate, toDate, {type})
DapiConnection#getTransactions(card, fromDate, toDate, {type})
to get the transactions created by the account or the card between the start date and end date according toDapiTransactionsType
filter.
DapiTransactionsType.ENRICHED
-> Each transaction object will have category
and brandDetails
properties.
DapiTransactionsType.CATEGORIZED
-> Each transaction object will have category
property.
DapiTransactionsType.DEFAULT
-> category
and brandDetails
won't be included in the response.
Example:-
await connection.getTransactionsForAccount(account, fromDate, toDate, type: DapiTransactionsType.DEFAULT);
- Deprecated
DapiConfigurations#endpoints
Dapi backend accepts the default endpoints paths only now.
2.11.1 #
- Fixed DapiCard type errors.
2.11.2 #
- Fixed Dapi.start() success future not completing.
2.12.0 #
- Added Support for Dark Mode
- Added theme configuration to configure the SDK UI theme
- Removed
accessCode
andconnectionID
from connection parametersconnection.getParameters()
.
Parameters example:
{
"bankId":"DAPIBANK_AE_ADCB",
"clientUserID":"clientID",
"color":{
"primaryColor":"#BD0000",
"secondaryColor":"#2A2B38"
},
"fullLogoPng":"https:\/\/cdn.dapi.com\/banks-full-logo\/ADCB.png",
"fullName":"Abu Dhabi Commercial Bank Sandbox",
"halfLogoPng":"https:\/\/cdn.dapi.com\/banks-horizontal-logo\/ADCB.png",
"miniLogoPng":"https:\/\/cdn.dapi.com\/banks-mini-logo\/ADCB.png",
"name":"ADCB Sandbox",
"tokenID":"23302e94-e463-450a-8794-52c6a19cd271",
"userID":"7x4orrsRTbIDXLcW2rgHbv1wVSsOOxHdRPg3v0SuSjH57LfPp5\/rFayQDnvnWnVg8C8XqaGaenWhN1gjMg6dzw==",
"userSecret":"rAaanOaptNFQ2ealZAZpcH3C8YgBIbiczDmOLZR0Y2M3a3wq4AlDtbRlqtEQtmLNarMh7\/J1xVr3xwaaTNATPU4r8IE4zSY6Xm+GOML8v+ArTAYIsHEEIaqdsLgblUTUhKlGYOUuDdWHAatc6aMGsdhC+AcpeS\/JkSc8KaqX6BgusOuD0rPVL46mdKiRvO7Vu7t8J0KU4KDc8nYQt2IYGiz778S1aYjQoHVCCSLeyoQuzPAdkaOpSweNiCihSzFNI5\/OR8YyQezcpHTdgj5gCD1cXg7\/zl9XWBD\/KCRV8ldDHt3rzMpJjXZUieDQ7nS92hWxHjruoVL10U6o3nyc6NubfePFjXy4voHda\/G227SE2yQ4NLBzWy3KdHNRtGjMNBHX9A93x0IrCJamOS5y+A3lTL1xONnqhw9QsWd+\/t8bN\/3hX2R18NiLT\/wKy017CRC7nFoCwwsmitTXYRf9ZyZVe9UexDlX4vGnWdsJc3xzHw87IJH4\/s+32YVWX+73yVfUYyfcETFuZ6tGDY7YZkgBxAnEDFP97o1F0E6SPS\/zq7GS3t+7bXVuyA291F1pvqccFjCoLGkXdYhXnrDpdGtw1+tYecKAa5CpFS+q54KuSHlHi4BFzVN9C5jtKt4xEAv7Z1a1mSzOLXlzPCdX+rmWF9mJDKrN0\/Ydb5pQPgg="
}
- Minimum required parameters to successfully create connection:
bankId
,clientUserID
,name
,tokenID
,userID
,userSecret
{
"bankId":"DAPIBANK_AE_ADCB",
"clientUserID":"clientID",
"name":"ADCB Sandbox",
"tokenID":"23302e94-e463-450a-8794-52c6a19cd271",
"userID":"7x4orrsRTbIDXLcW2rgHbv1wVSsOOxHdRPg3v0SuSjH57LfPp5\/rFayQDnvnWnVg8C8XqaGaenWhN1gjMg6dzw==",
"userSecret":"rAaanOaptNFQ2ealZAZpcH3C8YgBIbiczDmOLZR0Y2M3a3wq4AlDtbRlqtEQtmLNarMh7\/J1xVr3xwaaTNATPU4r8IE4zSY6Xm+GOML8v+ArTAYIsHEEIaqdsLgblUTUhKlGYOUuDdWHAatc6aMGsdhC+AcpeS\/JkSc8KaqX6BgusOuD0rPVL46mdKiRvO7Vu7t8J0KU4KDc8nYQt2IYGiz778S1aYjQoHVCCSLeyoQuzPAdkaOpSweNiCihSzFNI5\/OR8YyQezcpHTdgj5gCD1cXg7\/zl9XWBD\/KCRV8ldDHt3rzMpJjXZUieDQ7nS92hWxHjruoVL10U6o3nyc6NubfePFjXy4voHda\/G227SE2yQ4NLBzWy3KdHNRtGjMNBHX9A93x0IrCJamOS5y+A3lTL1xONnqhw9QsWd+\/t8bN\/3hX2R18NiLT\/wKy017CRC7nFoCwwsmitTXYRf9ZyZVe9UexDlX4vGnWdsJc3xzHw87IJH4\/s+32YVWX+73yVfUYyfcETFuZ6tGDY7YZkgBxAnEDFP97o1F0E6SPS\/zq7GS3t+7bXVuyA291F1pvqccFjCoLGkXdYhXnrDpdGtw1+tYecKAa5CpFS+q54KuSHlHi4BFzVN9C5jtKt4xEAv7Z1a1mSzOLXlzPCdX+rmWF9mJDKrN0\/Ydb5pQPgg="
}
DapiConnection.create(parameters)