dapi 2.25.3 copy "dapi: ^2.25.3" to clipboard
dapi: ^2.25.3 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 to DapiTransactionsType 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 and connectionID from connection parameters connection.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)

2.13.0 #

  • Added support for the Arabic language.
  • Bug fixes.

2.13.1 #

  • Changed beneficiary parameter in createTransfer function to be nullable.

2.14.0 #

  • Allow presentConnect with specific bankID

2.14.1 #

  • Fixed nullable bankID

2.14.2 #

  • Resolve all iOS nullable parameters issues

2.14.3 #

  • iOS: Add userID parameter to Connect event onConnectionSuccessful.

2.15.0 #

  • Added error type to DapiSdkException.

2.16.0 #

  • Added operationID to DapiSdkException.

2.17.0 #

  • Added createACHPullTransfer

2.18.0 #

  • Added beneficiaryCoolDownPeriod to DapiSdkException

2.19.0 #

  • Added support for MFA Confirmation type.

2.19.1 #

  • Android: fixed opening bank login page directly.

2.19.2 #

  • Android: fixed transactions dates localization error in AR locale.

2.20.0 #

  • Added address and validators to DapiAccountsMetadata.
  • Fixed DapiIdentity#identification is always empty list.

2.21.0 #

  • Added nickname to DapiBeneficiary object.

2.22.0 #

  • Added dismissTransfer() to close Dapi transfer UI, dismissMFA() to close Dapi MFA UI.

2.22.1 #

  • return TRANSFER_DISMISSED error when transfer ui is dismissed before completion
  • iOS: Fixed null theme exception when configurations() is invoked

2.22.2 #

  • iOS: Fix MFA memory leak.

2.23.0 #

  • Added NymCard Load Funds API
await connection.nymcardLoadFunds(token, account, amount);

2.24.0 #

  • Changed presentAccountSelection to return DapiAccount object instead of accountID only.

2.25.0 #

  • Added setOnTransferSuccessResult and setOnTransferErrorResult callbacks to manipulate message on Dapi's result screen.
Dapi.setOnTransferSuccessResult((result) {
  return "Test Success Message";
});

Dapi.setOnTransferErrorResult((error) {
  return "Test Error Message";
});

2.25.1 #

  • Bug fix

2.25.2 #

  • Updated with the latest native Dapi Android SDK and iOS SDK

2.25.3 #

  • Updated with the latest native Dapi iOS SDK
1
likes
100
pub points
53%
popularity

Publisher

verified publisherdapi.com

Financial APIs to connect users' bank accounts.

Homepage

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

collection, flutter, intl

More

Packages that depend on dapi