Dapi 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 and money transfer.
App Server URL
on the Dapi DashboardNow the SDK will automatically know where to send its requests!
To integrate Dapi into your Xcode project using CocoaPods, add to your Podfile
:
pod 'DapiBanking'
Then, run the following command:
$ pod install
DapiSDK.xcframework
to your project’s “Frameworks, Libraries, and Embedded Content” sectionimport DapiSDK
Dapi.shared.start(appKey: \"#app_key#\",
environment: "#environment#", //.sandbox or .production
clientUserID: "#client_user_id#")
app_key
with your appKey from the first step.environment
value is sandbox
or production
. production
provides access to real banks, sandbox
can be used to simulate banks' behavior in a testing environment - learn more: Get Started with Sandbox.ClientUserID
is used to distinguish between different end-users. The value for clientUserID
needs to be set by you. We recommend setting clientUserID
to your actual user ID that you use to distinguish between users.Congratulations! Now you can use Dapi in your iOS project!
Check out our API Reference for more detailed information about our SDK.
link |
Stars: 2 |
Last commit: 8 weeks ago |
Fixed delink
callback called twice.
Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics