CCPayment
Have Questions?TwitterMediumBlog
  • CCPayment - For Merchant
    • What is CCPayment
    • CCPayment API Introduction
    • Fees
    • Invoice
    • Contact Us
  • CCPayment v1.0 API
    • SDK Libraries
    • To Get Started
      • Signature
      • API Specification Common Rules
    • Payment API - CCPayment
      • Hosted Checkout Page Integration
      • Native Checkout Integration
      • API Deposit Order Information Interface
    • Wallet API - CCPayment
      • Get permanent deposit address for users
    • Withdrawal API Integration
      • Create a withdrawal order
      • Withdrawal Order Information Interface
    • Resources Document
      • Token ID Interface
      • Current Token Rate Interface
      • Asset Balance Interface
      • Network Fee Interface
      • Block Height Information Retrieval API
      • Check the Validity of Cwallet ID
      • List of Supported Coins
      • List of Denominated Currency for API Payment
      • Error Code
    • Webhook Notification
      • Webhook Notification Tutorial
      • API Deposit Webhook Notification
      • Direct Deposit to Permanent Address Webhook Notification
      • Invocie Webhook Notification
      • Withdraw Webhook Notification
      • Refund Webhook Notification
      • Resend Webhook Notification
  • Changes
    • Change Record
    • Upcoming Changes
  • FAQ
    • FAQ
    • Webhook Notification
      • How to receive the transaction notification
      • Why do some deposit transactions not include the “from address” in the webhook notification?
    • Payment
      • Why hasn't my transactions been confirmed?
      • Why hasn't my withdrawal arrived
      • Minimum amount of withdrawal and deposit
      • How to find out withdrawal fees for each cryptocurrency?
      • How does CCPayment charge the service fee
      • After payment has been paid, why does the order status not appear successful
      • What types of tokens do we accept for payment
      • How long does it take for a withdrawal to be processed
      • When a payment is not sufficiently made, can the user make it again and have it credited correctly
      • Is it possible to pay by credit card
      • What is token aggregation fee?
    • Security & Privacy
      • How to Secure My CCPayment Account
      • What information do you collect about my customers
      • Is my website required to be reviewed when using CCPayment API
      • Why can’t I get the email verification code?
      • Verify your site ownership
        • Verify your site ownership with HTML file
        • Verify your site ownership with HTML tag
    • Refund
      • How to cancel a pending refund request
      • How does the merchant issue a refund to the customer
      • What should you do if you entered a wrong memo/tag?
      • What should you do if you credited to CCPayment's unsupported tokens?
    • Others & Academy
      • How to manage multiple merchant account
      • How does the lock exchange rate of an order work and what happens when it is locked
      • What is the transaction under the category Other in the transaction records
      • Are there any regional restrictions on API use
      • What is a referral program?
      • CCPayment ETH Testnet Tutorial
      • What is auto-swap for deposit?
  • CCPAYMENT POLICY
    • CCPayment Privacy Policy
    • Disclaimer for Purchasers
    • Terms of Use
    • AML/CTF Policy
Powered by GitBook
On this page
  1. Changes

Change Record

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

PreviousResend Webhook NotificationNextUpcoming Changes

Last updated 1 year ago

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 . 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 . 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:

2023/September/06

Newly added error code: 100804 225110 Click to check for details:

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.

2023/July/26

  1. 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. Newly added interface: Merchants use this API to receive the block height to confirm the transaction and the current block height from different networks.

2023/June/01

2023/May/25

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:

 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"
}

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

Newly added error code: 224106 224107 224109 224087 224110 224041 224111 Click to check for details:

0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359
0x2791bca1f2de4661ed88a30c99a7a9449aa84174
Supported Coin List
https://doc.ccpayment.com/ccpayment-for-developer/resources-document/error-code
Learn more>
Withdrawal API
Block Height Information Retrieval API
webhook API deposit
https://doc.ccpayment.com/ccpayment-for-developer/resources-document/error-code
https://resource.cwallet.com/token/icon/ETH.png
https://resource.cwallet.com/token/icon/ETH.png
https://resource.cwallet.com/token/op.png