MilliKart
This script may be used to accept MilliKart payments on your NodeJS backend simply
Usage
Install
You can install the package using NPM or YARN package manager.
npm i millikart# or via yarn yarn add millikart
Initialize Library
Put your mid
and secret
as first and second argument there.
// ES6 const millikart = 'mid-here' 'secret-here'; // ESNext ;const millikart = 'mid-here' 'secret-here';
Create Transaction
var response = await millikart ; console;
The response
will be:
944 is currency code (ISO 4217) for AZN. Full list of currency codes available here.
Amount is a floating point number
Available languages are:
az
,ru
,en
Check Status of Transaction
var response = await millikartstatus'unique-generated-reference'; console;
The response
will be:
Using Along With Express.js
You can handle callback using our library. Here's how to handle it.
app;
Author
This script is created and maintained by Misir Jafarov and is not affiliated with "MilliKart, LLC".