Order Information Interface

When the transaction is completed, the system will push the transaction result to the Webhook URL. You can also call this interface to obtain the order information.

Return order information

POST https://admin.ccpayment.com/ccpayment/v1/bill/info

Headers

Name
Type
Description

Appid*

String

Merchant's unique credential. Find it on the Developer pagearrow-up-right.

Timestamp*

String

Timestamp in seconds (10-digit) expires in 2 minutes.

Sign*

String

SHA-256 (APPID + APP Secret +timestamp+body (json string)). Signature guidearrow-up-right.

Request Body

Name
Type
Description

merchant_order_id*

Array

Merchant Order ID, max limit 100. Pass only one type of order id, either deposit OR withdrawal

Response

Body

{
    "code":10000,
    "msg":"success",
    "data":[
    {
        "order_detail":{
            "product_price":"0.1",
            "denominated_currency":"USD",
            "product_name":"gmail-deposit",
            "merchant_order_id":"1684723374629",
            "chain":"FTM",
            "contract":"250",
            "crypto":"FTM",
            "order_amount":"0.279173646007816863",
            "status":"Successful",
            "token_rate":"0.3582"
            "created":1684723398
        },
        "trade_list":[
            {
                "amount":"0.279173646007816863",
                "chain":"FTM",
                "contract":"250",
                "crypto":"FTM",
                "service_fee":"0.000083752093802346",
                "network_fee":"0.0000",
                "txid":"0x5caafde27a8040547a169168c55f35806eb0ca68344b2d53894097b0e9d5fa89",
                "pay_time":1684727677,
                "token_rate":"0.3582"
            }
        ],
        "refund_list":[
            {
                "refund_amount":"0.1",
                "network_fee":"0.05412",
                "actual_received_amount":"0.04588",
                "chain":"FTM",
                "contract":"250",
                "crypto":"FTM",
                "txid":"0xd37611ed48253d30b6aefe0adf7e053b07def7557d6211a73f121a57b342dd56",
                "address":"0x3b55Ec4D9d15528B78958Fd3EeEAe87a893EDffF",
                "pay_time":1684737832,
                "status":"Successful"
            }
        ]
    }
  ]
}

Parameters

Request Body Example

Last updated