💸Crypto Payouts
Send crypto from Lazerpay to an external wallet using our APIs
Introduction
The amount collected in your Lazerpay account from all the incoming transactions can be withdrawn to an external supported crypto wallet. In order to make crypto payouts, you can use our payouts API endpoint or our official Node JS SDK
Crypto Transfer API
POST
https://api.lazerpay.engineering/api/v1/crypto/payouts/initiate
Headers
Name | Type | Description |
---|---|---|
Authorization* | String | Bearer YOUR_SECRET_KEY |
Request Body
Name | Type | Description |
---|---|---|
amount* | String | Number | The amount you want to send out |
recipient* | String | Wallet address of the recipient |
coin* | String | Crypto you want to transfer |
blockchain* | String | The blockchain network you are sending to |
metadata | Object | Stringified JSON object of custom data. eg |
reference | String | Unique case sensitive transaction reference. If you do not pass this parameter, Lazerpay will generate a unique reference for you. |
Important things to note
The
Blockchain
field must be"Binance Smart Chain"
.The
coin
field must either be "BUSD", "DAI", "USDT", or "USDC".
We only support the Binance Smart Chain for withdrawals at the moment. We will add more networks in the future.
From Official JS SDK
With the JS SDK, you can transfer the crypto in your Lazerpay balance to an external address.
See sample code below:
Last updated