The Quotes resource provides methods to create quotes for crypto-to-fiat conversions (payouts) and retrieve foreign exchange rates.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/blindpaylabs/blindpay-node/llms.txt
Use this file to discover all available pages before exploring further.
create
Create a quote for a payout transaction. The quote locks in an exchange rate, fee structure, and payment details for a limited time.Parameters
ID of the beneficiary’s bank account that will receive the fiat funds.
Whether the
request_amount is in stablecoin (sender) or fiat currency (receiver).Whether fees should be covered by the sender (
true) or deducted from the receiver amount (false).The amount to quote. Interpreted based on
currency_type.Blockchain network to use for the transaction. Supported networks:
- EVM:
base,arbitrum,polygon,ethereum,sepolia,arbitrum_sepolia,base_sepolia,polygon_amoy - Stellar:
stellar,stellar_testnet - Other:
tron,solana,solana_devnet
The stablecoin token to send. If not specified, defaults to the network’s primary stablecoin.
Description of the transaction purpose.
ID of the partner fee configuration to apply, or
null for no partner fee.URL or base64-encoded document supporting the transaction (e.g., invoice, contract).
Document identifier or number (e.g., invoice number).
Type of supporting document:
invoice: Commercial invoicepurchase_order: Purchase orderdelivery_slip: Delivery receiptcontract: Legal contractcustoms_declaration: Customs documentationbill_of_lading: Shipping documentothers: Other document types
Response
The created quote details.
Unique identifier for the quote.
Unix timestamp (in seconds) when the quote expires.
The commercial market exchange rate for the transaction.
The BlindPay exchange rate including fees and spread.
Amount that will be received in fiat currency.
Amount that needs to be sent in stablecoin.
Local amount in the beneficiary’s currency (if different from receiver_amount).
Partner fee amount if applicable.
Flat fee charged for the transaction.
Transaction description.
Smart contract details for EVM networks (required for approve transactions).
Contract ABI definition.
Token contract address.
Function to call (approve).
BlindPay’s contract address to approve.
Amount to approve (in wei/smallest unit).
Network details including name and chainId.
getFxRate
Retrieve the current foreign exchange rate between currencies without creating a quote. This is useful for displaying approximate rates to users before they commit to a transaction.Parameters
Whether the
request_amount is in the source currency (sender) or destination currency (receiver).Source stablecoin for the conversion.
Destination fiat currency for the conversion.
BRL: Brazilian RealUSD: US DollarMXN: Mexican PesoCOP: Colombian PesoARS: Argentine Peso
The amount to convert. Interpreted based on
currency_type.Response
Foreign exchange rate information.
The commercial market exchange rate without fees.
The BlindPay exchange rate including fees and spread.
The resulting amount after conversion and fees.
Flat fee charged by your instance (if applicable).
Percentage fee charged by your instance.