This library is the abstraction of Apigames API for access from applications written with server-side Javascript.
npm install apigames
atau
yarn add apigames
Dapatkan Merchant ID dan Secret Key Anda di Apigames Dashboard.
const Apigames = require('apigames');
const client = new Apigames("YOUR MERCHANT ID","YOUR SECRET");
let saldo = await client.cekSaldo();
let saldo = await client.cekAkunGame(gameCode, userId);
Game yang tersedia : mobilelegend , freefire, higgs
Coming Soon
let transaksi = await client.transaksi(refId, productCode, tujuan);
Note: RefID adalah kode transaksi unik kamu yang di generate secara acak
let transaksi = await client.transaksiv2(refId, productCode, tujuan, serverId);
Note: RefID adalah kode transaksi unik kamu yang di generate secara acak
Coming Soon
Coming Soon
Coming Soon