Skip to content

Latest commit

 

History

History
96 lines (60 loc) · 1.72 KB

readme.md

File metadata and controls

96 lines (60 loc) · 1.72 KB

CodeFactor Npm package monthly downloads

Apigames Client for Node Js

This library is the abstraction of Apigames API for access from applications written with server-side Javascript.

NPM

Instalasi

npm install apigames

atau

yarn add apigames

Pemakaian

Dapatkan Merchant ID dan Secret Key Anda di Apigames Dashboard.

const Apigames = require('apigames');
const client = new Apigames("YOUR MERCHANT ID","YOUR SECRET");

Cek Saldo

let saldo = await client.cekSaldo();

Cek Akun Game

let saldo = await client.cekAkunGame(gameCode, userId);

Game yang tersedia : mobilelegend , freefire, higgs

Cek Status Koneksi

Coming Soon

Transaksi Versi 1

let transaksi = await client.transaksi(refId, productCode, tujuan);

Note: RefID adalah kode transaksi unik kamu yang di generate secara acak

Transaksi Versi 2

let transaksi = await client.transaksiv2(refId, productCode, tujuan, serverId);

Note: RefID adalah kode transaksi unik kamu yang di generate secara acak

Cek Status Transaksi

Coming Soon

Radeem Kiosgamer Garena Shell Bulk

Coming Soon

Cek Status Radeem Kiosgamer Garena Shell Bulk

Coming Soon

License

MIT

Author

Ari Padrian