Lideflow-Logo

Payout quotesPayout quotes

Quotes for converting stablecoins to fiat, including fees and exchange rates.

Overview

A Payout Quote is a temporary offer that outlines the terms of a payout, including the exchange rate, fees, and the amount the receiver will receive. It ensures transparency and allows you to confirm the details before initiating a payout.

A quote is only valid for 10 minutes. Once the quote is created, you have 10 minutes to use it to create a payout. Otherwise, it will expire and you will need to create a new quote.

Create a payout quote

Before creating a payout quote, you need to:

  1. 1Create your API key
  2. 2Create a receiver
  3. 3Create a bank account
NameTypeExample
receiver_idstringrequireddab3a9f0-5f5f-4506-a847-7f8f7c155e48
bank_account_idstringrequireda1b2c3d4-e5f6-1789-e9c0-b1l2c3a4e5f6
networkenum(ERC20)requiredERC20
tokenenum(USDT)requiredUSDT
requested_quantityinteger(The amount you want to send in stablecoins. It should be in subunits, e.g., 1 should be sent as 100)required123400

Example

You can check the #API reference for the complete list of fields and options.

Request :
curl
curl --request POST \
     --url https://api.lideflow.com/payout-quotes \
     --header 'Authorization: Bearer YOUR_API_KEY' \
     --header 'Content-Type: application/json' \
     --data '{
        "receiver_id": "dab3a9f0-5f5f-4506-a847-7f8f7c155e48",
        "bank_account_id": "a1b2c3d4-e5f6-1789-e9c0-b1l2c3a4e5f6",
        "network": "ERC20",
        "token": "USDT",
        "requested_quantity": 123400
        }'
    
Response :
json
{
  "id": "123e4567-e89b-12d3-a456-426614174000",
  "wallet_address": "0xd37D2faC30b5A97F13EB2d4a2647a1BB343C1952",
  "expires_at": "2025-11-21T06:53:26Z",
  "receiver_id": "dab3a9f0-5f5f-4506-a847-7f8f7c155e48",
  "bank_account_id": "a1b2c3d4-e5f6-1789-e9c0-b1l2c3a4e5f6",
  "network": "ERC20",
  "token": "USDT",
  "requested_quantity": 123400,
  "lideflow_fee": 100,
  "receiver_amount": 122166,
}