react-native-accept-sdk
Getting started
$ npm install @iteratorsmobile/react-native-accept-sdk --save
or
$ yarn add @iteratorsmobile/react-native-accept-sdk
Mostly automatic installation
$ react-native link @iteratorsmobile/react-native-accept-sdk
Usage
import AcceptSdk from '@iteratorsmobile/react-native-accept-sdk';
AcceptSdk.getTokenWithRequest(tokenRequest: TokenRequest, isProduction: boolean)
interface TokenRequest {
loginId: string;
clientKey: string;
cardNumber: string;
cardExpirationYear: string;
cardExpirationMonth: string;
cardCode: string;
}