Saltar para o conteúdo principal
GET
Get Exchange Rates
Para identidade, sessões, recuperação e taxas, consulte Fluxos fiat para clientes.

Autorizações

x-api-key
string
header
obrigatório

Parâmetros de caminho

id
string<uuid>
obrigatório

Wallet identifier.

Parâmetros de consulta

assetId
string<uuid>
obrigatório

Stablecoin asset identifier returned by the supported-assets endpoint.

currency
string
obrigatório

ISO 4217 fiat currency code.

Required string length: 3
amount
string
obrigatório

Decimal amount encoded as a string to preserve precision.

Pattern: ^\d+(\.\d+)?$
amountSide
enum<string>
padrão:source

Which side of the conversion amount refers to. source (default) fixes the stablecoin amount; target fixes the fiat amount the recipient receives.

Opções disponíveis:
source,
target
provider
string

Optional provider slug. Omit it to let Blockradar select an eligible provider.

customerId
string<uuid>

ID of an existing active customer owned by the authenticated business.

paymentMethod
string

Optional provider payment-method ID.

Resposta

Successful response.

message
string
obrigatório

Human-readable result.

Exemplo:

"Exchange rate fetched successfully"

data
object
obrigatório
status
boolean
obrigatório
Exemplo:

true