idpay-checkout
v1.0.1
Published
<center>
Downloads
14
Maintainers
Readme
Simple Module For IDPay Website Payment Gateway
🕹 Usage
Install the package from npm
/ yarn
or any other package managers.
npm install idpay-checkout
# or
yarn add idpay-checkout
const { IDPayClient } = require("idpay-checkout");
// or
import { IDPayClient } from "idpay-checkout";
/**
* Create IDPay object. Wrapper around constructor.
* @param {String} API_KEY [Required]
* @param {Boolean} SandBox [Required]
*/
const Client = IDPayClient("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", true);