0.2.3 • Published 2 years ago

@flashpay-inc/sdk v0.2.3

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Get Started

FlashPay Javascript SDK provides a simple and convenient payment flow for web applications to receive payments in USDC, ALGO, USDT, etc. on Algorand blockchain.

Install

npm install @flashpay-inc/sdk

SDK Parameters

The SDK accepts the following parameters:

ParamRequiredDescription
payload:white_check_mark:An object containing asset, recipient, and amount.
public_key:white_check_mark:User's public key which can be gotten from the Flashpay dashboard.
callback:white_check_mark:A function with signature (response, error) that gets called on successful or failed transaction.

NOTE: To get the list of supported assets, make a GET request to https://api.flashpay.finance/api/core/assets

Example Applications

License

MIT © Flashpay