@pg-devops/wallet v1.5.0
Introduction
This package will worked as SDK of ecom-wallet service help your application control users'accounts by transferring helping them to deposit funds and make payments
How to use
After installing @pg-devops/wallet, just import "Wallet" from the package in next API which you need to interact with accounts
import Wallet from "@pg-devops/wallet";
Then create a new instance with parameters: API key (generated by creating a new application in wallet domain) and user token (optional - return to user after creating a new wallet or connecting an existing wallet)
For example:
const wallet = new Wallet(baseUrl, jwtSecret, apiKey, userToken)
After that call equivalent method to your using purpose: - create: create a new user wallet - connect: connect to an existing user wallet using email and password - deposit: add funds to user wallet using payment methods such as Stripe, Paypal, Payoneer, ... - pay: transfer funds from user wallet to app owner's revenue wallet to pay your products
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago