Saltar al contenido principal
GET
Get Exchange Rates
Para identidad, sesiones, recuperación y comisiones, consulte Flujos fiat para clientes.

Autorizaciones

x-api-key
string
header
requerido

Parámetros de ruta

id
string<uuid>
requerido

Wallet identifier.

Parámetros de consulta

assetId
string<uuid>
requerido

Stablecoin asset identifier returned by the supported-assets endpoint.

currency
string
requerido

ISO 4217 fiat currency code.

Required string length: 3
amount
string
requerido

Decimal amount encoded as a string to preserve precision.

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

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

Opciones disponibles:
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.

Respuesta

Successful response.

message
string
requerido

Human-readable result.

Ejemplo:

"Exchange rate fetched successfully"

data
object
requerido
status
boolean
requerido
Ejemplo:

true