0.0.7 • Published 3 months ago
@togtokh.dev/xpay v0.0.7
X-PAY
Example
import XPAY from "../src";
const run = async () => {
console.log((await XPAY.wallet.balance()).data.wallet_balance);
};
XPAY.auth
.USER("staging", {
phone_number: 1,
password: "",
})
.then((result) => {
console.log(result);
run();
})
.catch((err) => {
console.log(err);
});