marasoftbank-payment-client
v1.0.5
Published
A node client for marasoftbank payement services
Downloads
2
Maintainers
Readme
Marasoftbank API wrapper
This is a NODEJS API wrapper for marasoftbanking.com
Installation
npm install marasoftbank-payment-client
Usage
const { GetBanks, ValidateAccountNumber, CreateTransfer } = require("marasoftbank-payment-client");
Get Banks
let api_public_key = "your-marasoftbank-public-api-key";
let banks = GetBanks(api_public_key);
Validate Account Number
let api_public_key = "your-marasoftbank-public-api-key";
let result = ValidateAccountNumber(api_public_key, account_number, bank_code);
Create Transfer
let api_secret_key = "your-marasoftbank-secret-api-key";
let result = CreateTransfer(api_secret_key, amount, account_number, bank_code, narration);