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/merchant/fiat/list

Prod environment

https://openapi.alchemypay.org/merchant/fiat/list

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.
signYstringSHA1(appId + appSecret + timestamp), please refer to Sign demo for Initiate API
access-tokenYstringaccessToken from Fetch Token API

Http body

NULL

Request sample - Header

723723

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
        },
        {
            "currency": "EUR",
            "country": "US",
            "payWayCode": "10001",
            "payWayName": "Credit Card",
            "fixedFee": 0.300000,
            "rateFee": 0.051000,
            "payMin": 30.000000,
            "payMax": 2000.000000
        },
        {
            "currency": "GBP",
            "country": "US",
            "payWayCode": "10001",
            "payWayName": "Credit Card",
            "fixedFee": 0.300000,
            "rateFee": 0.051000,
            "payMin": 30.000000,
            "payMax": 2000.000000
        }
    ]
}