Fiat Query

Description

Query the fiat currency supported by the merchant and the corresponding fiat currency payment method

Test environment

https://openapi-test.alchemypay.org/open/api/v3/merchant/fiat/list

Prod environment

https://openapi.alchemypay.org/open/api/v3/merchant/fiat/list

❗️This API can only be invoked on the server side.

Http method

  • GET

Http Header

ElementMandatoryData TypeRemarks
appidYstringPartner unique ID, once a merchant has been on-boarded with Alchemy Pay, the merchant will be provided with the credentials with appId and appSecret
timestampYstringUTC time with 13 digit to represent time in milliseconds, expiration period is 5 minutes.
signYstringSign the appId, timeStamp, and requested parameters alphabetically , the sign method can refer here

Url Parameter

ElementMandatoryData TypeRemarks
typeCstringdefault BUY. BUY/SELL

Request sample - Header

Request sample - Body

NULL

Response sample

{
    "success": true,
    "returnCode": "0000",
    "returnMsg": "SUCCESS",
    "extend": "",
    "data": [
        {
            "currency": "USD", // 3 digit currency code
            "country": "US",  // 2 digit country code
            "payWayCode": "10001", //payment method code
            "payWayName": "Credit Card", //payment method
            "fixedFee": 0.300000, //ramp fixed fee
            "rateFee": 0.051000, // ramp percent fee
            "payMin": 30.000000, // minimal fiat amount
            "payMax": 2000.000000, // maxmium fiat amount
            "countryName": "United State"
        },
        {
            "currency": "GBP",
            "country": "US",
            "payWayCode": "10001",
            "payWayName": "Credit Card",
            "fixedFee": 0.300000,
            "rateFee": 0.051000,
            "payMin": 30.000000,
            "payMax": 2000.000000,
            "countryName": "United Kingdom"
        }
    ]
}