New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

handaki

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

handaki

đź’°HANDAKI API package to help implement direct deposit into users bank account.

latest
npmnpm
Version
1.0.2
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

KOTANIPAY HANDAKI API

đź’°HANDAKI API package to help implement direct deposit into users bank account.

Only basic endpoints are supported

At this time, the package doesn't support all the endpoints of the Handaki API, as it is made for specific needs of our current operations and will be updated with new endpoints base on new requirements .

Installation


yarn add handaki  or 

npm install handaki

INSTANTIATE

const handaki = require('handaki');

const request = new handaki.Handeki({ 
                      keyId: 'key', 
                      signatureString:'signatureString'
                     });

CASH OUT TO PHONE NUMBER

const payoutData = {
        "type": "payout",
        "id": "6bd6119a-d895-402a-9ff8-950e41b62083",
        "attributes": {
            "recipient_no": "0722000024",
            "recipient_type": "msisdn",
            "short_code": "511382",
            "amount": 10,
            "posted_at": "2019-03-18T17:22:09.651011Z",
            "recipient_id_type": "national_id",
            "recipient_id_number": "21212121"
        }
}

await request.payout(payoutData)

CASH IN VIA PHONE NUMBER


const cashInData = {
    "type": "charge",
        "id": "{{$randomUUID}}",
        "attributes": {
            "amount": 10,
            "customer_no": "254722000022",
            "short_code": "174379",
            "posted_at": "{{posted_at}}",
            "reference": "1234"
        }
}

await request.charge(cashInData)

PAY BILL


const payData = {
    "type": "charge",
        "id": "{{$randomUUID}}",
        "attributes": {
            "amount": 10,
            "customer_no": "254722000022",
            "short_code": "174379",
            "posted_at": "{{posted_at}}",
            "reference": "1234"
        }
}

await request.charge(cashInData)

PAY TILL


const payData = {
         "type": "charge",
        "attributes": {
            "amount": 100,
            "customer_no": "254722000022",
            "short_code": "111222",
            "till_no": "112233",
            "posted_at": "{{posted_at}}",
            "reference": "1234"
        }
}

await request.charge(cashInData)

FAQs

Package last updated on 30 Jan 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts