Token ID Interface
Call this interface to get the Token ID for your supported tokens. Token ID is a parameter you should pass to CCPayment's server when you create payment and withdrawal order with CCPayment.
Last updated
Call this interface to get the Token ID for your supported tokens. Token ID is a parameter you should pass to CCPayment's server when you create payment and withdrawal order with CCPayment.
Last updated
POST
https://admin.ccpayment.com/ccpayment/v1/coin/all
Return all Token IDs of selected tokens enabled by you. Return all Token IDs supported by CCPayment if you enabled All Tokens in your Merchant Settings.
Name | Type | Description |
---|---|---|
Name | Value | Required | Type | Description |
---|---|---|---|---|
Name | Type | Required | Description |
---|---|---|---|
Appid*
String
Merchant's unique credential. Find it on the Developer page.
Timestamp*
String
Timestamp in seconds (10-digit) expires in 2 minutes.
Sign*
String
SHA-256 (APPID + APP Secret +timestamp+body (json string)). Signature guide.
Appid
202302010636261620672405236006912
Y
String
Merchant's unique credential
Timestamp
1677152490
Y
String
Timestamp in seconds (10-digit)
Sign
871f0223c66ea72435208d03603a0cb00b90f6ac4a4ba725d00164d967e291f6
Y
String
SHA-256(APPID + APPSecret + timestamp+body(json string))
code
Integer
msg
String
data
Object
data.list
Array
Crypto coin list
data.list.coin_id
String
Identification of the crypto coin ''coin_id can be used to identify which coin is transferring to Cwallet account''
data.list.symbol
data.list.crypto
String
Coin symbol
data.list.name
String
Coin fullname
data.list.logo
String
Coin icon
data.list.min
String
Minimum trading amount
data.list.price
String
Current price (in USD)
data.list.status
Int
Status: 1, token can be used for payment, deposit and withdrawal.
Status: 2, token is under maintenance, the service of transfer and payment is suspended temporarily.
Status: 3, token is to be delisted, token cannot be used for transfer and payment, merchant can only withdraw it.
data.list.tokens
Array
The list of tokens on different networks
data.list.tokens.token_id
String
Tell CCPayment's server the information of the coin and its transaction network
data.list.tokens.crypto
String
Symbol of token
data.list.tokens.logo
String
Token icon
data.list.tokens.name
String
Fullname of the chain
data.list.tokens.is_support_memo
Boolean
If the parameter value is true, it means that the token supports filling in memo or Tag
data.list.tokens.network
String
Standard of token contract
data.list.tokens.chain
String
Abbreviation of the chain name
data.list.tokens.contract
String
The identification of the token on the corresponding blockchain network
data.list.tokens.chain_logo
String
Icon of network
data.list.tokens.status
Int
Status: 1, token can be used for payment, deposit and withdrawal.
Status: 2, token is under maintenance, the service of transfer and payment is suspended temporarily.
Status: 3, token is to be delisted, token cannot be used for transfer and payment, merchant can only withdrawn it.