@togtokh.dev/xpay
TypeScript icon, indicating that this package has built-in type declarations

0.1.3 • Public • Published

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);
      });

Package Sidebar

Install

npm i @togtokh.dev/xpay

Weekly Downloads

5

Version

0.1.3

License

ISC

Unpacked Size

42.1 kB

Total Files

40

Last publish

Collaborators

  • togtokh.dev