跳转到内容

Currency

Supported payment chains and tokens

List supported payment currencies

请求

Returns the supported blockchain and token combinations available for acquiring payments.

安全
Ed25519
标头
X-API-Key-IDstring必需

32-character Base58 credential ID returned after public-key registration.

X-API-Timestampstring必需

Unix timestamp in seconds; tolerance is ±300 seconds.

X-API-Noncestring必需

16 cryptographically random bytes encoded as unpadded Base64URL; fresh on every attempt.

Digeststring必需

SHA-256= followed by standard padded Base64 of SHA-256 of exact request body bytes. Required even for an empty body; included in the signing string.

Authorizationstring必需

Use Ed25519 signature="BASE64_SIGNATURE", where BASE64_SIGNATURE is the standard padded Base64 signature. See /docs/en/4-authorization for the exact signing string.

curl -i -X GET \
  https://developer.infini.money/_mock/zh/apis/acquiring/currency \
  -H 'Authorization: YOUR_API_KEY_HERE' \
  -H 'Digest: string' \
  -H 'X-API-Key-ID: string' \
  -H 'X-API-Nonce: string' \
  -H 'X-API-Timestamp: string'

响应

Supported chain and token combinations

正文application/json
listArray of objects(github.com.infini-money.infini-services-go.app.infini-payment-service.api.currency.v1.SupportCurrency)

List of supported cryptocurrencies

响应
{ "list": [ { … } ] }