PayoutsPayouts
Transactions that convert stablecoins to fiat and send funds to a receiver.
Overview
A Payout is the actual transaction that converts stablecoins into fiat and sends the funds to the receiver's designated bank account. It is created based on a payout quote and includes details such as the wallet address, network, and token used.
A payout can only be executed if a payout quote was already created and has not expired.
Create a payout
Before creating a payout, you need to:
Example
You can check the #API reference for the complete list of fields and options.
Replace
YOUR_API_KEY with your actual API key.The payout can only be executed if a payout quote was already created and has not expired.
Request :
curl
curl --request POST \
--url https://api.lideflow.com/payouts \
--header 'Authorization: Bearer YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data '{
"payout_quote_id": "123e4567-e89b-12d3-a456-426614174000",
}'
Response :
json
{
"id": "e63d662d-161a-4236-948a-c1b002e30aeb",
"status": "pending",
"payout_quote_id": "123e4567-e89b-12d3-a456-426614174000",
"wallet_address": "0xd37D2faC30b5A97F13EB2d4a2647a1BB343C1952",
"network": "ERC20",
"token": "USDT",
"requested_quantity": 123400,
"lideflow_fee": 100,
"receiver_amount": 122166,
"receiver_currency": "USD",
}