Skip to main content
GET
/
v2
/
account
/
quote
/
fixed-rate
Get Fixed Rate Quote
curl --request GET \
  --url https://api.avenia.io:8443/v2/v2/account/quote/fixed-rate \
  --header 'Authorization: Bearer <token>'
{
  "quoteToken": "<string>",
  "inputCurrency": "<string>",
  "inputPaymentMethod": "<string>",
  "inputAmount": "<string>",
  "outputCurrency": "<string>",
  "outputPaymentMethod": "<string>",
  "outputAmount": "<string>",
  "markupAmount": "<string>",
  "markupCurrency": "<string>",
  "blockchainSendMethod": "<string>",
  "inputThirdParty": true,
  "outputThirdParty": true,
  "appliedFees": [
    {
      "type": "<string>",
      "description": "<string>",
      "amount": "<string>",
      "currency": "<string>"
    }
  ],
  "basePrice": "<string>",
  "pairName": "<string>"
}

Get Fixed Rate Quote

GET request to /v2/account/quote/fixed-rate

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

inputCurrency
string
required

Input currency code (e.g., "BRL")

inputPaymentMethod
string
required

Input payment method

inputAmount
string

Input amount

outputCurrency
string
required

Output currency code (e.g., "USD")

outputPaymentMethod
string
required

Output payment method

outputAmount
string

Output amount

markupFloatingFee
string

Markup floating fee percentage

markupInputFixedFee
string

Markup input fixed fee

markupOutputFixedFee
string

Markup output fixed fee

markupCurrency
string

Markup currency

inputThirdParty
boolean
required

Whether input is third party

outputThirdParty
boolean
required

Whether output is third party

outputBrCode
string

Output BR code

ticketRefundId
string

Ticket refund ID

blockchainSendMethod
string

Blockchain send method

subAccountId
string

Sub-account ID

Response

OK

quoteToken
string
required
inputCurrency
string
required
inputPaymentMethod
string
required
inputAmount
string
required
outputCurrency
string
required
outputPaymentMethod
string
required
outputAmount
string
required
markupAmount
string
required
markupCurrency
string
required
blockchainSendMethod
string
required
inputThirdParty
boolean
required
outputThirdParty
boolean
required
appliedFees
object[]
required
basePrice
string
required
pairName
string
required