pokepay_flutter_sdk 1.0.1 pokepay_flutter_sdk: ^1.0.1 copied to clipboard
SDK for pokepay
Pokepay Flutter SDK #
API Document reference #
Please refer to this document
Install #
- In the pubspec.yaml of the project, add the following:
dependencies:
pokepay_flutter_sdk: ^YOUR_VERSION
- Then run this
flutter pub get
- Then you can use Pokepay SDK in your project.
Usage #
- How to use the client
PokepayAPI(env: APIEnv.YOUR_ENV,accessToken: YOUR_ACCESS_TOKEN,);
- Call API, for example, create account
PokepayAPI api = PokepayAPI(env: APIEnv.YOUR_ENV,accessToken: YOUR_ACCESS_TOKEN,);
Account createdAccount = await api.createAccount(name:your_wallet_name, privateMoneyId: your_private_money_id);