CUP QuickPay

Overview

CUP QuickPay is payment method that supports payments by using branded China UnionPay (CUP) payment cards issued by Chinese and foreign banks within the international payment system CUP. You can perform purchases through this method by using Payment Page and Gate, payouts by using Gate.

General information

Payment method type bank payments
Payment instruments payments cards
Countries and regions CN
Payment currencies CNY, USD
Currency conversion on the ecommpay or provider side (taking into account the specifics of a particular payment)
Purchases +
Payouts +
Stored credentials payments
Full refunds
Partial refunds
Chargebacks
Notes
Onboarding and access fee Refer to your ecommpay key account manager

Interaction diagram

Payment processing by using the CUP QuickPay payment method requires merchant's web service, one of ecommpay interfaces, and the ecommpay payment platform, as well as the CUP QuickPay service.



Operations support

  Interfaces Amounts*, CNY Times**
Payment Page CMS Plug-ins Gate Dashboard minimum maximum basic threshold
Purchases + + 50,000.00 * *
Payouts + 10.00 44,999.00 * *

* For more information refer to your ecommpay key account manager.

** The basic and threshold times are defined as follows:
  • The basic time is the average estimated time between the moment a payment is initiated in the payment platform to the moment the payment result is sent to the initiator. The basic time evaluation is made on the assumption of normal operation of all technical facilities and communication channels and typical customer behaviour (if any input from customer is required). Use the basic time to estimate when to react to the absence of payment result notifications or when to check payment status.
  • The threshold time is the maximum possible time between the moment a payment is initiated in the payment platform to the moment the initiator receives the callback with the payment result. A payment is automatically declined, if its waiting time exceeds the threshold time. For individual setting of the threshold time limit, contact ecommpay technical support.

Processing scenarios

In the CUP QuickPay method, to perform a purchase operation, you need to redirect customer to the CUP QuickPay payment form, where customer must enter number of CUP card.

Figure: Purchase sequence when using Payment Page

Figure: Purchase sequence when using Gate



Figure: Payout by using Gate



Supported banks

The section provides information about the banks the CUP QuickPay method supports to process payouts. Banks have their own IDs, which are used to initiate payouts by using Gate.

The following table contains information about banks and their IDs. The information is presented for informational purposes only, therefore for detailed information about banks and their IDs, contact your ecommpay Key Account Manager or send a request to Gate API /v2/info/banks/{payment_method}/{operationType}/list by using POST method: /v2/info/banks/chinaunionpay/payout/list to receive the list of banks that support payout performing.

The request must contain the project and payment IDs, signature, currency, and payment amount, as shown in the example. It is important to specify real payment data, but if the payment has not yet been generated, you can specify a random value for the payment ID in the request.

Figure: Example of requesting a list of banks

{
  "general": {
    "project_id": 200,
    "payment_id": "ORDER_155860015",
    "signature": "K6jllym+PtObocZtr345st...=="
  },
  "payment": {
    "amount": 1000,
    "currency": "CNY"
  }
}
Table 1. List of banks
Bank ID
Agricultural Bank of China 1
Bank of China 6
Bank of Communications 2
Bohai Bank 8
China Citic Bank 12
China Construction Bank 9
China Everbright Bank 10
China Industrial Bank 11
China Merchant Bank 13
China Minsheng Bank 14
Guangfa Bank Co., Ltd. 299
HSBC Bank 116
Industrial and Commercial Bank of China 23
Ping An Bank (formerly Shenzhen Development Bank) 27
Postal Savings Bank of China 28
Shanghai Pudong Development Bank 32
ShenZhen Development Bank 29
Zheshang Bank 15

Payout regions

The region_id parameter is mandatory in the payout request through CUP QuickPay. Payout processing is supported in the regions provided in the table below.

Table 2. List of regions
Region name Region ID
Anhui Sheng 1
Beijing Shi 2
Chongqing Shi 3
Fujian Sheng 4
Guangdong Sheng 5
Gansu Sheng 6
Guangxi Zhuangzu Zizhiqu 7
Guizhou Sheng 8
Henan Sheng 9
Hubei Sheng 10
Hebei Sheng 11
Hainan Sheng 12
Hong Kong SAR 13
Heilongjiang Sheng 14
Hunan Sheng 15
Jilin Sheng 16
Jiangsu Sheng 17
Jiangxi Sheng 18
Liaoning Sheng 19
Macau SAR 20
Nei Mongol Zizhiqu 21
Ningxia Huizi Zizhiqu 22
Qinghai Sheng 23
Sichuan Sheng 24
Shandong Sheng 25
Shanghai Shi 26
Shaanxi Sheng 27
Shanxi Sheng 28
Tianjin Shi 29
Taiwan Sheng 30
Xinjiang Uygur Zizhiqu 31
Xizang Zizhiqu 32
Yunnan Sheng 33
Zhejiang Sheng 34

The sections that follow provide detailed information about what you need to perform payments and how you can analyse the information on payments and operations.

Purchase by using Payment Page

General information

In the CUP QuickPay method, when processing a purchase by using Payment Page, the merchant web service is required to send a request with all the required parameters and signature to the ecommpay URL and get the callback with the result information from the payment platform. When opening Payment Page, you can either allow your customer to select the CUP QuickPay method from the list of other payment methods on Payment Page or have Payment Page opened with CUP QuickPay method selected. For more information about preselecting payment methods, see Preselecting payment methods.

The full sequence and particularities of the purchase process are provided below.

Figure: Purchase sequence when using Payment Page

  1. Customer initiates purchase by using the web service.
  2. The merchant web service sends to the specified ecommpay URL the purchase request for processing the purchase by using Payment Page.
  3. The payment platform receives the request for processing the purchase by using Payment Page.
  4. The payment platform performs the initial request processing that involves validation of the required parameters and signature.
  5. Requested Payment Page is generated into the ecommpay payment platform as specified in the project settings and the request parameters.
  6. Payment Page is displayed to the customer.
  7. The customer selects CUP QuickPay payment method and agrees to use the method (or accepts the method already selected on Payment Page and agrees).
  8. The payment platform receives the purchase request for payment processing in the CUP QuickPay service.
  9. The payment platform performs the internal purchase request processing and sends it to the CUP QuickPay service.
  10. The purchase request is processed on the CUP QuickPay side.
  11. The CUP QuickPay service generates the data for redirecting the customer to the CUP QuickPay payment form and sends it to the payment platform.
  12. The payment platform sends to Payment Page the data for redirecting the customer to the CUP QuickPay payment form.
  13. The customer is redirected to the CUP QuickPay payment form.
  14. The customer enters card number.
  15. The payment is processed on the CUP QuickPay side.
  16. CUP QuickPay service sends the payment result notification to the payment platform.
  17. The payment platform sends the callback to the web service.
  18. The payment platform sends payment results to Payment Page.
  19. A page with the payment result information is displayed to the customer.

The sections that follow discuss in more details the request format and the Payment Page parameters to use in the CUP QuickPay payment method and provide the information on the format of callbacks with payment results. For the general information on how to use the API, see Payment Page API Description.

Request format

There are several things you need to consider when using the CUP QuickPay method:

  1. You must provide values for the basic minimum of parameters. Listed below are the parameters that are mandatory for any payment method:
    • customer_id—the unique ID of the customer within your project
    • project_id—the project ID obtained from ecommpay
    • payment_id—payment ID unique within the project
    • payment_currency—payment currency in ISO-4217 alpha-3 format
    • payment_amount—payment amount in minor units
  2. There is one more mandatory parameter—language_code. In the Payment Page language_code parameter, you must use zh code.
  3. There is one more mandatory parameter—payment_description with description or comment to the payment.
  4. If you need to have payment form displayed with the CUP QuickPay method selected, set the force_payment_method parameter to cup-quick.
  5. If required, you can also add any other additional parameters Payment Page supports.
  6. After you specify all the parameters you need, you must create the signature for the request. For instructions on how to sign a payment request, see Signature generation and verification.

Thus, a correct payment request in the CUP QuickPay method must include project, customer and payment IDs, language code, the currency and the amount of a payment in the appropriate currency, as shown in the following example:

EPayWidget.run(
    { payment_id: 'TEST_154', 
      payment_amount: 1000, 
      payment_currency: 'CNY', 
      customer_id: '123',
      project_id: 581, 
      language_code: 'zh',
      payment_description: 'TEST_1557900746307',
      signature: "kq970XaXE0Ig0s%2B4%2BM2gtmkytwe3%2BP1pzXw%2BNPTTG...=="
    }
)

For information about all parameters available in the CUP QuickPay method, see Parameters for opening payment form.

Callback format

The CUP QuickPay method uses the standard format for callbacks to deliver purchase results. For more information, see Callbacks.

The following is the example of a callback with an information about successful 10.00 CNY purchase made in the 580 project.

Figure: Example of a successful purchase callback

{
        "project_id": 580,
        "payment": {
            "id": "ECT_TEST_15532590003171111",
            "type": "purchase",
            "status": "success",
            "date": "2019-03-25T03:56:01+0000",
            "method": "quick",
            "sum": {
                "amount": 1000,
                "currency": "CNY"
            },
            "description": "ECT_TEST_15532590003171111"
        },
        "operation": {
            "id": 24101000000751,
            "type": "sale",
            "status": "success",
            "date": "2019-03-25T03:56:01+0000",
            "created_date": "2019-03-25T03:54:57+0000",
            "request_id": "gh72ef7c07157e6bde92072a52",
            "sum_initial": {
                "amount": 1000,
                "currency": "CNY"
            },
            "sum_converted": {
                "amount": 1000,
                "currency": "CNY"
            },
            "provider": {
                "id": 1198,
                "payment_id": "190325115517201000",
                "date": "2019-03-25T11:55:55+0000",
                "auth_code": ""
            },
            "code": "0",
            "message": "Success"
        },
        "signature": "j8704ugh4Kt7E+IezTbe96ecupSki6DbyC5e/89/YW6/
                      BbF+Qh8zcud6s/u4C4qA6W58E6LDftzWjKLfwTeG5bQ=="
    }

The following is the example of a callback for a purchase declined due to insufficient funds on customer account.

Figure: Example of a declined purchase callback

{
        "project_id": 580,
        "payment": {
            "id": "ECT_TEST_155325900031711",
            "type": "purchase",
            "status": "decline",
            "date": "2019-03-22T14:51:20+0000",
            "method": "quick",
            "sum": {
                "amount": 1000,
                "currency": "CNY"
            },
            "description": "ECT_TEST_155325900031711"
        },
        "operation": {
            "id": 21449000000697,
            "type": "sale",
            "status": "decline",
            "date": "2019-03-22T14:51:20+0000",
            "created_date": "2019-03-22T12:50:43+0000",
            "request_id": "01c9b7a9152b6991b6d22e8c46bedaec5",
            "sum_initial": {
                "amount": 1000,
                "currency": "CNY"
            },
            "sum_converted": {
                "amount": 1000,
                "currency": "CNY"
            },
            "provider": {
                "id": 1198,
                "payment_id": "190322205110731000",
                "date": "2019-03-22T21:52:19+0000",
                "auth_code": ""
            },
            "code": "20105",
            "message": "Insufficient funds on customer account"
        },
        "signature": "PFsxBI4v59YN917MCq0vcgiTAjSKo/nGtv7U2+xskpamu1drPF0os
                                        pdxsTZYSqLVCfqqy9HAK19IgF6cxCKctg=="
    }

Related topics

The following topics might be useful when implementing payments through Payment Page:

Purchase by using Gate

General information

In the CUP QuickPay method, when processing a purchase by using Gate, the merchant web service is required to do the following:

  1. Send a request with all the required parameters and signature to the ecommpay URL.
  2. Perform redirecting customer to the CUP QuickPay form.
  3. Get the callback with the payment result from the payment platform.

The following diagram provides the detailed picture of the payment processing procedure.

Figure: Purchase sequence when using Gate

  1. Customer initiates purchase on the merchant web service by using CUP QuickPay method.
  2. The web service sends the request for processing the purchase by using Gate to the specified ecommpay URL.
  3. The payment platform receives the request for processing the purchase by using Gate.
  4. The payment platform performs the initial request processing that includes validation of the required parameters and signature.
  5. The payment platform sends to the web service response with request receipt confirmation and correctness check result.
  6. The payment platform performs the internal payment request processing and sends it to the CUP QuickPay service.
  7. The purchase request is processed on the CUP QuickPay side.
  8. The CUP QuickPay service generates the data for redirecting the customer to the CUP QuickPay form and sends it to the payment platform.
  9. The payment platform sends to the web service the callback that delivers the data for redirecting customer to the CUP QuickPay service.
  10. The customer is redirected to the CUP QuickPay payment form.
  11. The customer enters card number.
  12. The payment is processed on the CUP QuickPay side.
  13. The CUP QuickPay service sends the payment result notification to the payment platform.
  14. The payment platform sends the callback to the web service.
  15. The customer receives the payment result from the web service.

The sections that follow discuss in more details the request format and the Gate parameters to use in the CUP QuickPay payment method and provide the information on the format of callbacks with purchase results.

Request format

There are several things you must consider when using purchase requests in the CUP QuickPay method:
  1. You send purchase requests by sending the request to /v2/payment/cup/quick/sale by using HTTP method POST.
  2. The following objects and parameters must be specified in any request:
    • general—object that contains general request identification information:
      • project_id—the project ID obtained from ecommpay
      • payment_id—payment ID unique within the project
      • signature—signature created after you specify all the required parameters. For more information about signature generation, see Signature generation and verification.
    • customer—object that contains customer information:
      • id—the unique ID of the customer within your project
      • ip_address—IP address
      • first_name—first name in Chinese
      • last_name—last name in Chinese
      • phone—phone number without +
      • email—customer email
      • zip—postcode
      • country—country of residence in the ISO 3166-1 alpha-2 format
      • city—city of residence in Chinese
      • street—address of residence in Chinese
    • payment—object that contains purchase information:
      • amount—purchase amount in minor units
      • currency—purchase currency in ISO-4217 alpha-3 format
      • description—description or comment to the payment
    • return_url—URL for returning customers from bank site to merchant web service after payment performing:
      • success—URL for returning after performed payment
  3. If required, you can also add any other additional parameters Gate supports.

Thus, a correct payment request in the CUP QuickPay method must include general information about request, information about payment and customer, as shown in the following example:

Figure: Example of a purchase request

{
  "general": {
    "project_id": 200,
    "payment_id": "ECT_TEST_1559134591371-pz-3",
    "signature": "pK1YN6fd7yajGSWAzsbYeJo5nvotVBtOijOzgFvAU5Cc8PB...=="
  },
  "customer": {
    "id": "123",
    "ip_address": "183.57.40.238",
    "first_name": "伍",
    "last_name": "倩文",
    "phone": "13632264147",
    "email": "2524243674@email.com",
    "street":"street",
    "city": "city",
    "zip": "123045607",
    "country": "CH"
    }
  },
  "payment": {
    "amount": 1000,
    "currency": "CNY",    
    "description": "payment"
  },
  "return_url: {
    "success": "http://example.com"
  }
}

Formats of the customer redirection data

To redirect a customer from the web service to the bank site, you must receive a callback from the payment platform containing the URL for redirection in the redirect_data.url parameter and data to be sent in the request body in the redirect_data.body parameter, and use these parameters when opening the bank’s HTML page using method specified in the redirect_data.method parameter. The data in redirect_data.body may be differ depending on the payment processing provider.

The following is the callback fragment containing the URL for purchase.

"redirect_data": {
            "method": "GET",
            "body": {
                "deviceType": "WEB",
                "amountFee": "10.00",
                "sign": "****************",
                "cardType": "D",
                "merchantTradeId": "21449000000697",
                "userName": "",
                "version": "1.0",
                "paymentCard": "",
                "issuingBank": "UNIONPAY",
                "payType": "NC",
                "merchantId": "4245",
                "payIp": "185.123.193.224",
                "signType": "RSA",
                "notifyUrl": "https://site.com/cup/callback",
                "inputCharset": "UTF-8",
                "currency": "CNY",
                "goodsTitle": "ECT_TEST_155325900031711",
                "returnUrl": "https://site.com/gogkjotvmr3hi96gdnd8i1s3",
                "subIssuingBank": ""
            },
            "encrypted": [],
            "url": "http://payment.qixiqiang.com/payment/v3/unionpayIntGate.html"
        }

Callback format

The CUP QuickPay method uses the standard format for callbacks to deliver purchase results. For more information, see Callbacks.

The following is the example of a callback with an information about successful 10.00 CNY purchase made in the 580 project.

Figure: Example of a successful purchase callback

{
        "project_id": 580,
        "payment": {
            "id": "ECT_TEST_15532590003171111",
            "type": "purchase",
            "status": "success",
            "date": "2019-03-25T03:56:01+0000",
            "method": "quick",
            "sum": {
                "amount": 1000,
                "currency": "CNY"
            },
            "description": "ECT_TEST_15532590003171111"
        },
        "operation": {
            "id": 24101000000751,
            "type": "sale",
            "status": "success",
            "date": "2019-03-25T03:56:01+0000",
            "created_date": "2019-03-25T03:54:57+0000",
            "request_id": "gh72ef7c07157e6bde92072a52",
            "sum_initial": {
                "amount": 1000,
                "currency": "CNY"
            },
            "sum_converted": {
                "amount": 1000,
                "currency": "CNY"
            },
            "provider": {
                "id": 1198,
                "payment_id": "190325115517201000",
                "date": "2019-03-25T11:55:55+0000",
                "auth_code": ""
            },
            "code": "0",
            "message": "Success"
        },
        "signature": "j8704ugh4Kt7E+IezTbe96ecupSki6DbyC5e/89/YW6/
                      BbF+Qh8zcud6s/u4C4qA6W58E6LDftzWjKLfwTeG5bQ=="
    }

The following is the example of a callback for a purchase declined due to insufficient funds on customer account.

Figure: Example of a declined purchase callback

{
        "project_id": 580,
        "payment": {
            "id": "ECT_TEST_155325900031711",
            "type": "purchase",
            "status": "decline",
            "date": "2019-03-22T14:51:20+0000",
            "method": "quick",
            "sum": {
                "amount": 1000,
                "currency": "CNY"
            },
            "description": "ECT_TEST_155325900031711"
        },
        "operation": {
            "id": 21449000000697,
            "type": "sale",
            "status": "decline",
            "date": "2019-03-22T14:51:20+0000",
            "created_date": "2019-03-22T12:50:43+0000",
            "request_id": "01c9b7a9152b6991b6d22e8c46bedaec5",
            "sum_initial": {
                "amount": 1000,
                "currency": "CNY"
            },
            "sum_converted": {
                "amount": 1000,
                "currency": "CNY"
            },
            "provider": {
                "id": 1198,
                "payment_id": "190322205110731000",
                "date": "2019-03-22T21:52:19+0000",
                "auth_code": ""
            },
            "code": "20105",
            "message": "Insufficient funds on customer account"
        },
        "signature": "PFsxBI4v59YN917MCq0vcgiTAjSKo/nGtv7U2+xskpamu1drPF0os
                                        pdxsTZYSqLVCfqqy9HAK19IgF6cxCKctg=="
    }

Related topics

The following topics might be useful when implementing payments through Gate:

Payout by using Gate

General information

To perform a payout through the CUP QuickPay method, merchant's web service sends a request with all the required parameters and signature to ecommpay URL, and receives a callback with the payment result. The full sequence of the payout process is provided below.



Figure: Payout sequence by using Gate

  1. A customer orders a payout through the CUP QuickPay service.
  2. Merchant's web service sends the payout request for processing the payout by using Gate to the appropriate ecommpay URL.
  3. Gate redirects the request to the ecommpay payment platform.
  4. The payment platform performs all the necessary check and processes the request.
  5. The reply with the request processing results is sent to the merchant's web service. For more information, see Response format.
  6. The payment platform redirects the payout request to the CUP QuickPay service.
  7. The payout is processed on the CUP QuickPay side.
  8. CUP QuickPay sends the result notification to the payment platform.
  9. The payment platform sends a callback with the payment result to the web service.
  10. The customer receives the payout result from the web service.

The sections that follow discuss in more details the request format and the Gate parameters to use in the CUP QuickPay payment method and provide the information on the format of callbacks with payout results.

Request format

There are several things you must consider when using payout requests in the CUP QuickPay method:

  1. You perform payouts by sending the request to /v2/payment/chinaunionpay/payout by using HTTP method POST.
  2. The following objects and parameters must be specified in any request:
    • general—object that contains general request identification information:
      • project_id—the project ID obtained from ecommpay
      • payment_id—payment ID unique within the project
      • signature—signature created after you specify all the required parameters. For more information about signature generation, see Signature generation and verification.
    • payment—object that contains purchase information:
      • amount—purchase amount in minor units of the currency
      • currency—purchase currency in ISO-4217 alpha-3 format
      • description—payment description
    • customer—object that contains customer information:
      • id—identifier
      • ip_address—IP address
      • email—email
      • state—province in Chinese
      • city—city in Chinese
      • country—country (pass CN)
      • phone—phone number without +
      • zip—postal code
      • street—address in Chinese
      • first_name—first name in Chinese
      • last_name—last name in Chinese
    • card—object that contains card or account information:
      • pan—card number (for some providers it is necessary to specify the bank account number of the customer, for more information refer to your ecommpay key account manager)
    • account—object that contains customer bank account information:
      • city—bank address city
      • bank_id—bank identifier (for more detailed information about banks and their IDs, see Supported banks)
      • region_id—bank region identifier (for more detailed information about banks and their IDs, see Payout regions)
      • branch—bank branch (abbreviation)
  3. Additionally, to increase conversion, specify the customer.identify.doc_number parameter—the number of the identity document.
  4. If required, you can also add any other additional parameters Gate supports.

Thus, a correct payout request in the CUP QuickPay method must include project and payment IDs, signature, currency and amount of the payout, customer and bank account details, and customer card number:

Figure: Example of a payout request

{
    "general": {
        "project_id": 255,
        "payment_id": "TEST_15392667771145",
        "signature": "Uhka8CiYAlDlc2wRq60vlSmTTCb0Zp0KYV4NF0...=="
    },
    "customer": {
        "id": "127",
        "ip_address": "185.123.193.224",
        "email": "qwe@qw.qw",
        "state": "state",
        "city": "city",
        "country": "CN",
        "phone": "phone",
        "zip": "zip",
        "street": "street",
        "first_name": "伍",
        "last_name": "倩文",
        "identify": {
            "doc_number": "23512361283"
    },
    "payment": {
        "amount": 501,
        "currency": "CNY"
    },  
    "card": {
        "pan": "621661******6793"
   }, 
    "account": {
        "bank_id": "123",
        "branch": "qwert",
        "city": "City",
        "region_id": "region_id"
    }
}

Callback format

The CUP QuickPay method uses the standard format for callbacks to deliver payout results. For more information, see Callbacks.

Here is an example of callback with an information about successful 485.60 CNY payout made for the 1 customer in the 200 project.

Figure: Example of a successful payout callback

{
        "project_id": 200,
        "payment": {
            "id": "ECT_TEST_1563863519243_test2-gate-4",
            "type": "payout",
            "status": "success",
            "date": "2019-08-28T08:44:51+0000",
            "method": "ChinaUnionPay",
            "sum": {
                "amount": 48560,
                "currency": "CNY"
            },
            "description": "ECT_TEST_1563863519243"
        },
        "account": {
            "number": "621799******3840"
        },
        "customer": {
            "id": "1",
            "phone": "89102345678"
        },
        "operation": {
            "id": 45343000001495,
            "type": "payout",
            "status": "success",
            "date": "2019-08-28T08:44:51+0000",
            "created_date": "2019-08-28T08:42:08+0000",
            "request_id": "c21daec7a134",
            "sum_initial": {
                "amount": 48560,
                "currency": "CNY"
            },
            "sum_converted": {
                "amount": 48560,
                "currency": "CNY"
            },
            "provider": {
                "id": 1321,
                "payment_id": "10019082821621938",
                "date": "2019-08-28T16:42:12+0000",
                "auth_code": ""
            },
            "code": "0",
            "message": "Success"
        },
        "signature": "aW/oS/l7RTlKabsqCZXs1zile11EIX8mkM3+gJfwddjvtszeiMXcU7...=="
    }

The following example of callback is for a payment rejected due to customer account being no longer available.

Figure: Example of a declined payout callback

{
        "project_id": 200,
        "payment": {
            "id": "ECT_TEST_122127637126536125",
            "type": "payout",
            "status": "decline",
            "date": "2019-03-22T14:02:44+0000",
            "method": "cup-card",
            "sum": {
                "amount": 48560,
                "currency": "CNY"
            },
            "description": ""
        },
        "account": {
            "number": "621661******6993"
        },
        "customer": {
            "id": "1"
        },
        "operation": {
            "id": 32988000000665,
            "type": "payout",
            "status": "decline",
            "date": "2019-03-22T14:02:44+0000",
            "created_date": "2019-03-22T14:02:12+0000",
            "request_id": "b78ffab13002d994a6a572410b943ed110",
            "sum_initial": {
                "amount": 48560,
                "currency": "CNY"
            },
            "sum_converted": {
                "amount": 48560,
                "currency": "CNY"
            },
            "provider": {
                "id": 1191,
                "payment_id": "6UBPgonfNE4kjjPB6HoV5pjTdBo34Lni",
                "date": "2019-03-22T14:02:43+0000",
                "auth_code": ""
            },
            "code": "20106",
            "message": "Customer account is no longer available"
         },
        "signature": "rP/FoxRIdBJtMLKP5KAndJwmJHWQ3HXsDCpcbmaaqq...=="
    }

Related topics

The following topics might be useful when implementing payments through Gate:

Analysis of payments results

As with other payment methods ecommpay offers, when using the CUP QuickPay method, you have several options to analyse the information about payments and operations performed by using the method—alone or in conjunction with other methods.

You can load and analyse all the necessary information in Dashboard, for instance you can use the analytic panels on the Analytics tab to this end.

Also, you can export the information for further analysis by using third party analytical tools. The following options are available:

  • Dashboard allows you to download reports in CSV and XLS formats—by using the tools on the Payments tab. You can perform export as a one-time download to your local computer or have payment data regularly exported and delivered to email addresses you specify.
  • Data API allows you to have payment information exported in JSON format and delivered to a URL you specify. The payment information is exported by using the /operations/get queries.

If you have any further questions regarding payment data analysis, contact ecommpay technical support.