react-native-consisty-aeps-minks
v0.2.2
Published
The react-native-consisty-aeps-minks library allows you to use android minks aeps sdk into your react-native app.
Downloads
8
Maintainers
Readme
react-native-consisty-aeps-minks
The react-native-consisty-aeps-minks library allows you to use android minks aeps sdk into your react-native app.
Installation
npm install react-native-consisty-aeps-minks
OR
yarn add react-native-consisty-aeps-minks
Usage
import AepsPayment, {
AEPS_DATA,
AEPS_TYPE,
} from 'react-native-consisty-aeps-minks';
// ...
var data = AEPS_DATA;
data.developer_key = ''; // Your developer_key here provided by minks
data.developer_pass = ''; // Your developer_pass here provided by minks
data.retailer_mobile_number = ''; // retailer registered mobile number
data.partner_agent_id = ''; // unique reference number generated per user by system
data.txn_req_id = ''; // unique transaction id generated by system
data.actionbar_title = ''; // title you want to see on action bar usually your app_name
data.latitude = 0.0; // user's current latitude
data.longitude = 0.0; // user's current longitude
data.imei = ''; // user's mobile imei
data.aadhar_no = ''; // customer's aadhar number
data.customer_mobile_no = ''; // customer's mobile number
data.remark = ''; // remark (if any) optional
data.udd = ''; // udd (if any) usually generated by you system
data.amount = '';
data.amount_editable = false; // is amount editable or not
data.type = AEPS_TYPE[1].type; // type of AEPS transaction 2 for Cash Withdrawal 4 for Balance Enquiry
const result = await AepsPayment.makeAeps(data);
License
MIT