Query Payment Token

Introduction

This API don't required verified merchant signature.

API Description

Request Method:GET

Request Path For All Payment Token:/api/v3/purchase/checkouts/:checkoutId/payment-tokens

Request Path For Single Payment Token:/api/v3/purchase/checkouts/:checkoutId/payment-tokens?network=ETH&token=ETH

Response

Example


{
    "data": [
        {
            "walletType": "EVM", // wallet type:EVM/SOL/TON
            "network": "ETH",    // payment token chain
            "networkName": "Ethereum",// payment token chain(full name)
            "networkIcon": "https://static.alchemypay.org/alchemypay/crypto-images/ETH.png",                // 支付币种所属链的图标
            "chainId":1,
            "rpcURL":"https://etherscan.io",
            "scanURL":"https://etherscan.io",
            "tokenName": "ETH", // payment token
            "tokenIcon": "https://static.alchemypay.org/alchemypay/crypto-images/ETH.png",                // 支付币种的图标
            "tokenAddress":"",
            "tokenDecimals":1,
            "paymentAmount": "72.5"// total payment amount
        }
    ]
}