跳转到主要内容
GET
Get Exchange Rates
有关客户身份、会话绑定、审核恢复与费用,请参阅 客户法币流程.

授权

x-api-key
string
header
必填

路径参数

id
string<uuid>
必填

Wallet identifier.

查询参数

assetId
string<uuid>
必填

Stablecoin asset identifier returned by the supported-assets endpoint.

currency
string
必填

ISO 4217 fiat currency code.

Required string length: 3
amount
string
必填

Decimal amount encoded as a string to preserve precision.

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

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

可用选项:
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.

响应

Successful response.

message
string
必填

Human-readable result.

示例:

"Exchange rate fetched successfully"

data
object
必填
status
boolean
必填
示例:

true