Payouts Quotes

Get FX Rate

post/v1/instances/{instance_id}/quotes/fx

Path parameters

instance_idstring required
Example:in_000000000000

Headers

Idempotency-Keystring

Optional key to safely retry this request without performing the action twice. Retrying with the same key and an identical body replays the original response; reusing a key with a different body returns an error. Keys are kept for 24 hours.

Example:a1b2c3d4-e5f6-7890-abcd-ef1234567890

Request body

from'USDC' | 'USDT' | 'USDB' required
to'BRL' | 'USD' | 'MXN' | 'COP' | 'ARS' | 'EUR' required
request_amountinteger required

1000 represents 10.00, 2050 represents 20.50

currency_type'sender' | 'receiver' required

Example request

{
  "from": "USDC",
  "to": "BRL",
  "request_amount": 1000,
  "currency_type": "sender"
}

Response

Check FX rate response

commercial_quotationnumber nullable required

1 USD = 4.95 BRL

blindpay_quotationnumber nullable required

1 USD = 4.85 BRL (commercial quotation - (blindpay taxes))

result_amountnumber required
instance_flat_feenumber nullable

0.5 USDC

instance_percentage_feenumber required

Example response

{
  "commercial_quotation": 495,
  "blindpay_quotation": 485,
  "instance_flat_fee": 50
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.