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:
Param | Required | Description |
---|---|---|
payload | An object containing asset , recipient , and amount . |
|
public_key | User's public key which can be gotten from the Flashpay dashboard. | |
callback | 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