AinePay
EN中文
API Reference

Supported Coins

Retrieve the coins supported by AinePay and their corresponding blockchains. This is typically the first API merchants call during integration.

Endpoint

  • Method: GET
  • Path: /api/merchant/pay/info
  • Authentication: Required

Request Parameters

parametertypedescriptionrequired
--No business parameters. Only authentication headers are required.no

Response Fields

Top-level response structure:

fieldtypedescription
successbooleantrue when the request succeeds.
codeintegerBusiness result code. Successful responses return 0.
dataobjectBusiness data.
msgstringTypically ok on success.

Coin data:

fieldtypedescription
data.supportedarray<object>List of supported assets and chains.
data.supported[].coinstringToken symbol.
data.supported[].chainstringBlockchain code.
data.supported[].contractstringToken contract address.
data.supported[].chainNamestringBlockchain name.
data.supported[].urlstringReserved field.

Example Response

{
  "success": true,
  "code": 0,
  "data": {
    "supported": [
      {
        "coin": "USDT",
        "chain": "ETH",
        "contract": "0x630E906E953Da1808a7DB78cCA9FdFde2029aEB9",
        "chainName": "Ethereum(ERC20)",
        "url": ""
      },
      {
        "coin": "USDC",
        "chain": "ETH",
        "contract": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
        "chainName": "Ethereum(ERC20)",
        "url": ""
      }
    ]
  },
  "msg": "ok"
}