Warning You are viewing the outdated documentation for DapiSDK. For a new integration, please refer to our new Dapi Banking SDK for iOS
DapiConnect for iOS is a prebuilt SDK that reduces the time it takes to integrate with Dapi's API and gain access to your users financial data.
The SDK provides direct access to Dapi endpoints and offers optional UI to manage users' accounts, subaccounts, balance and money transfer.
- iOS v10.3 or later
- App key (obtain from Dapi Dashboard)
- Latest version of DapiConnect framework (obtain from DapiConnect.framework)
- SDK-Server (see below) iOS v10.3 or later
Currently, the SDK is only available through CocoaPods. To start integrating with DapiConnect.framework:
- Update your Podfile to include
pod 'DapiSDK'- Run the following command in your project directory
pod installYou can check out our iOS Integration Guide for detailed information about our SDK.
- Open
AppDelegateand replaceAPP_KEYwith your appKey. Can be obtained from Dapi Dashboard. - Replace
App Bundle IDform valuecom.dapi.appwith your Bundle ID that you added into Dapi Dashboard. - run the app.
- Click
Connectbutton to select your bank and enter credentials to login through Dapi. - After a successful connection, a DapiConnection object is generated and used for making calls to Dapi endpoints that you can call by clicking on any of the buttons like
Get IdentityandCreate Transfer. - Check our Docs for detailed information about our SDK.