The Payin Quotes resource provides methods to create quotes for fiat-to-crypto conversions 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 payin transaction. The quote locks in an exchange rate and fee structure for a limited time.Parameters
ID of the blockchain wallet that will receive the stablecoins.
Whether the
request_amount is in fiat currency (sender) or stablecoin (receiver).Payment method to be used for the transaction.
ach: Automated Clearing House (US)wire: Wire transfer (US)pix: Instant payment (Brazil)spei: SPEI transfer (Mexico)transfers: Bank transfer (Argentina)pse: PSE payment (Colombia)
The amount to quote. Interpreted based on
currency_type.The stablecoin token to receive.
Whether fees should be covered by the sender (
true) or deducted from the receiver amount (false).ID of the partner fee configuration to apply, or
null for no partner fee.Whether this is an over-the-counter transaction.
Rules and restrictions for the payer.
Allowed tax IDs for PIX payments.
Allowed tax ID for transfers (Argentina).
Allowed tax IDs for PSE payments.
Full name for PSE payments.
Document type for PSE payments (CC: Citizenship Card, NIT: Tax ID).
Document number for PSE payments.
Email for PSE payments.
Phone number for PSE payments.
Bank code for PSE payments.
Response
The created quote details.
Unique identifier for the quote.
Unix timestamp (in seconds) when the quote expires.
The commercial exchange rate for the transaction.
The BlindPay exchange rate including fees.
Amount that will be received in stablecoin.
Amount that needs to be sent in fiat currency.
Partner fee amount if applicable.
Flat fee charged for the transaction.
Whether this is an OTC transaction.
getFxRate
Retrieve the current foreign exchange rate between currencies without creating a quote.Parameters
Whether the
request_amount is in the source currency (sender) or destination currency (receiver).Source currency for the conversion.
Destination currency for the conversion.
The amount to convert. Interpreted based on
currency_type.Response
Foreign exchange rate information.
The commercial market exchange rate.
The BlindPay exchange rate including fees.
The resulting amount after conversion.
Flat fee charged by your instance.
Percentage fee charged by your instance.