Links
Comment on page

Change Record

You can see the iteration content of each version of CCPayment here.

2023/November/20

CCPayment supported the Solana (Symbol: SOL) of BSC chain. token_id: e5c33690-1395-4c69-a664-2529d75a660e coin_id of Solana (Symbol: SOL) changed to: 31c27e3c-0e6d-4e16-9b5c-857601daa1e8

2023/November/10

CCPayment has successfully integrated and enabled the deposit and withdrawal of USD Coin (USDC) on the Polygon network. Circle issued USDC tokens on the Polygon network, and the specific token contract is 0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359. In CCPayment system, the coin ID for this coin is ce387d66-1c3b-4333-8bb7 -7d6ad98ae9bb, and the token ID is c6b7c878-8a01-4f7f-8d2e-99a72787b1ac. In addition, we converted the original USDC bridged Polygon USD Coin (PoS) to USDC.e and used it as an independent token on CCPayment. The token address is 0x2791bca1f2de4661ed88a30c99a7a9449aa84174. In CCPayment system, the coin ID of the token is 8f5433e8-7f75-11ee-81b9-0a6f38bb19bf, and the token ID is 8f5433e8-7f75-11ee-81b9-0a6f38bb19bf. Please update your business token list in time to support USDC tokens on the Polygon network issued by Circle.

2023/September/08

CCPayment supported BabyDoge KISHU LOVELY. Check for details: Supported Coin List

2023/September/06

Newly added error code: 100804 225110 Click to check for details: https://doc.ccpayment.com/ccpayment-for-developer/resources-document/error-code

2023/September/04

Merchant verification feature goes Live, Dashboard ➡️Merchant Settings ➡️Verification, Your CCPayment will be available after merchant verification..

2023/August/31

Assets aggregation discount has ended and with effect from 31 August 2023, the withdraw and refund transactions will be charged on the basis of actual aggregation costs. Learn more>

2023/July/26

  1. 1.
    Withdrawal API Optimization - Added new input parameter "merchant_pays_fee" in the API - Added new return value "net_receivable": actual amount received - Added new return value "record_id"
  2. 2.
    Newly added interface: Block Height Information Retrieval API Merchants use this API to receive the block height to confirm the transaction and the current block height from different networks.

2023/June/01

Two parameters altered in webhook API deposit: 1. origin_price➡product_price 2. origin_amount➡order_amount

2023/May/25

Newly added error code: 224106 224107 224109 224087 224110 224041 224111 Click to check for details: https://doc.ccpayment.com/ccpayment-for-developer/resources-document/error-code

2023/May/24

CCPayment supported Swap function. Go to Dashboard ➡️Balances ➡️Swap. It's free to swap your coins!

2023/May/23

CCPayment supported Zcash (Symbol: ZEC).
token_id: 603fbc7e-86b0-4f7b-ab5e-5719383bc6ab
coin_id: 603fbc7e-86b0-4f7b-ab5e-5719383bc6ab

2023/April/28

Interface: Supported Token List update

Basic Info

Interface status: Accessible
Interface URL:
POST https://admin.ccpayment.com/ccpayment/v1/coin/all
Need authentication

Request Parameters

Header Request

  • Name
    Value
    Required
    Type
    Description
    Appid
    202302010636261620672405236006912
    string
    Partner unique ID, once a merchant has been on-boarded with CCPayment, the merchant will be provided with the credentials with appId and appSecret
    Timestamp
    1677152490
    string
    UTC time with 10 digit to represent time in seconds, expiration period is 2 minutes.
    Sign
    871f0223c66ea72435208d03603a0cb00b90f6ac4a4ba725d00164d967e291f6
    string
    SHA-256(appId + appSecret + timestamp), please refer to Sign demo for Initiate API

Response

Header Response

  • Name
    Value
    Required
    Type
    Description
    Appid
    202302010636261620672405236006912
    Y
    String
    Partner unique ID, once a merchant has been on-boarded with CCPayment, the merchant will be provided with the credentials with appId and appSecret
    Timestamp
    1677152490
    Y
    string
    UTC time with 10 digit to represent time in seconds
    Sign
    871f0223c66ea72435208d03603a0cb00b90f6ac4a4ba725d00164d967e291f6
    Y
    string
    SHA-256(appId + appSecret + timestamp+body(json string))

remark:

As a security measure, we will sign the returned data (and according to this only { code: 10000 } should be signed, but it's signing all the returned body.). Additionally, it will return Appid, Sign, Timestamp in the header of the response. The signature method SHA-256 (appid+appSecret+Timestamp+body).
Please use the data with caution if the signature verification fails. It indicates that the data has been tampered with.

Success (200)

{
"code": 10000,
"msg": "success",
"data": {
"list": [
{
"symbol": "BTC",
"crypto": "BTC",
"name": "Bitcoin",
"logo": "https://resource.cwallet.com/token/icon/btc.png",
"min": "0.00008",
"price": "29196.27",
"coin_id": "f36ad1cf-222a-4933-9ad0-86df8069f916",
"status": 1,
"tokens": [
{
"token_id": "f36ad1cf-222a-4933-9ad0-86df8069f916",
"crypto": "BTC",
"logo": "https://resource.cwallet.com/token/icon/btc.png",
"name": "Bitcoin",
"is_support_memo": false,
"network": "Bitcoin",
"chain": "BTC",
"contract": "BTC",
"chain_logo": "https://resource.cwallet.com/token/icon/btc.png",
"status": 1
}
]
},
{
"symbol": "ETH",
"crypto": "ETH",
"name": "Ethereum",
"logo": "https://resource.cwallet.com/token/icon/ETH.png",
"min": "0",
"price": "1902.84",
"coin_id": "e8f64d3d-df5b-411d-897f-c6d8d30206b7",
"status": 1,
"tokens": [
{
"token_id": "1e614496-f9ce-4ec7-8e68-563733deacbf",
"crypto": "ETH",
"logo": "https://resource.cwallet.com/token/icon/ETH.png",
"name": "Binance Smart Chain",
"is_support_memo": false,
"network": "BEP20",
"chain": "BSC",
"contract": "0x2170ed0880ac9a755fd29b2688956bd959f933f8",
"chain_logo": "https://resource.cwallet.com/token/icon/wbnb.png",
"status": 1
},
{
"token_id": "8addd19b-37df-4faf-bd74-e61e214b008a",
"crypto": "ETH",
"logo": "https://resource.cwallet.com/token/icon/ETH.png",
"name": "Ethereum",
"is_support_memo": false,
"network": "ERC20",
"chain": "ETH",
"contract": "1",
"chain_logo": "https://resource.cwallet.com/token/icon/eth.png",
"status": 1
},
{
"token_id": "f36770ed-d8fd-4a21-8141-83478fa44e05",
"crypto": "ETH",
"logo": "https://resource.cwallet.com/token/icon/ETH.png",
"name": "Optimism",
"is_support_memo": false,
"network": "OPTIMISM",
"chain": "OPTIMISM",
"contract": "10",
"chain_logo": "https://resource.cwallet.com/token/op.png",
"status": 1
}
]
}
]
}
}
  • Name
    Value
    Required
    Type
    Description
    code
    10000
    Integer
    msg
    Success
    String
    data
    Object
    data.list
    Array
    Crypto coin list
    data.list.coin_id
    f36ad1cf-222a-4933-9ad0-86df8069f9163
    String
    Identification of the crypto coin ''coin_id can be used to identify which coin is transferring to Cwallet account''
    data.list.symbol
    ETH
    data.list.crypto
    ETH
    String
    Coin symbol
    data.list.name
    Ethereum
    String
    Coin fullname
    data.list.logo
    String
    Coin icon
    data.list.min
    0
    String
    Minimum trading amount
    data.list.price
    1265.81
    String
    Current price (in USD)
    data.list.status
    1
    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.
    data.list.tokens
    Array
    The list of token on different networks
    data.list.tokens.token_id
    e8f64d3d-df5b-411d-897f-c6d8d30206b7
    String
    Identification of token
    data.list.tokens.crypto
    ETH
    String
    Symbol of token
    data.list.tokens.logo
    String
    Token icon
    data.list.tokens.name
    Binance Smart Chain
    String
    Fullname of the chain
    data.list.tokens.is_support_memo
    false
    Boolean
    If the parameter value is true, it means that the token supports filling in memo or Tag
    data.list.tokens.network
    BEP20
    String
    Standard of token contract
    data.list.tokens.chain
    BSC
    String
    Abbreviation of the chain name
    data.list.tokens.contract
    0x2170ed0880ac9a755fd29b2688956bd959f933f8
    String
    The identification of the token on the corresponding blockchain network
    data.list.tokens.chain_logo
    String
    Icon of network
    data.list.tokens.status
    1
    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.

Remark

Usually, users must select a coin and network to allow the merchant's application to determine the token_id for the checkout.

Fail (200)

{
"code": 224066,
"msg": "service err, please try again"
}