Skip to main content

UnionPay SecurePay

UnionPay SecurePay is a payment product provided by UnionPay. It provides card payments, e-banking and QR codes to complete payments on the SecurePay's page.

Hong Kong​

UnionPay SecurePay implementation specifics for Hong Kong.

Features
MethodCredit/Debit Card, Async - Redirect
Merchant countriesHong Kong
Consumer countriesAustralia, Japan, South Korea, New Zealand, Singapore, Hong Kong, Malaysia, Thailand, Philippines, Indonesia, Vietnam, United Kingdom, Germany, France, Hungary, Italy, Turkey, United States, Canada, Kenya, South Africa, Nigeria, China
Processing currenciesHKD
Increments-
Captures✅
Partial/Multiple partial captures⚠️ (Only one partial capture is supported)
Cancels✅
Partial/Multiple partial cancels-
Refunds✅
Partial/Multiple partial refunds✅
Recurring-
Installments-
Credits-
Disputes✅
Min AmountN/A
Account verification-

Auto-cancellation​

Card schemes require a period of time within which the authorized amount must be captured. This period can vary depending on the Merchant Category Code (MCC), but is typically 30 days for UnionPay. Automatic cancellation is not currently being performed for UnionPay authorizations. Merchants are responsible for cancelling authorizations that remain uncaptured within the applicable period.

Payment flow​

A consumer will be allowed to make payment again for a failed transaction as long as the expiration time has not been exceeded.

UnionPay SecurePay payment flow

Payment​

Request​
{
"processingAccountId": "2HdN2jq6XWmlkhqRC2gDTNYCvNH",
"merchantReference": "B2A8734D-9450-4915-A63D-FE5C21F09550",
"amount": {
"value": 200,
"currency": "hkd"
},
"paymentMethod": {
"type": "upop_securepay",
"upopSecurepay": {
"returnUrl": "https://merchant.site/complete-payment"
}
}
}
Response​
{
"id": "27yikKXBupQRso6XTC0eyrbfEKZ",
"merchantReference": "B2A8734D-9450-4915-A63D-FE5C21F09550",
"status": "pending",
"trackingUrl": "/v1/tracks/payments/{trackId}",
"reason": {
"code": "required_next_step",
"description": "An additional step is needed to complete the payment."
},
"nextStep": {
"type": "redirect",
"redirect": {
"method": "post",
"url": "https://payment.method/complete",
"params": [
{
"name": "param1",
"value": "value1"
}
]
}
}
}

Malaysia​

UnionPay SecurePay implementation specifics for Malaysia.

Features
MethodCredit/Debit Card, Async - Redirect
Merchant countriesMalaysia
Consumer countriesAustralia, Japan, South Korea, New Zealand, Singapore, Hong Kong, Malaysia, Thailand, Philippines, Indonesia, Vietnam, United Kingdom, Germany, France, Hungary, Italy, Turkey, United States, Canada, Kenya, South Africa, Nigeria, China
Processing currenciesMYR, SGD, USD, CNY, AUD, CAD, EUR, GBP, HKD, IDR, JPY, NZD, PHP, THB, TWD
Increments-
Captures-
Partial/Multiple partial captures-
Cancels-
Partial/Multiple partial cancels-
Refunds✅
Partial/Multiple partial refunds✅
Recurring-
Installments-
Credits-
Disputes✅
Min Amount1.01
Account verification-

Payment flow​

UnionPay SecurePay payment flow

Payment​

Request​
{
"processingAccountId": "2HdN2jq6XWmlkhqRC2gDTNYCvNH",
"merchantReference": "B2A8734D-9450-4915-A63D-FE5C21F09550",
"amount": {
"value": 200,
"currency": "myr"
},
"paymentMethod": {
"type": "upop_securepay",
"upopSecurepay": {
"returnUrl": "https://merchant.site/complete-payment"
}
}
}
Response​
{
"id": "27yikKXBupQRso6XTC0eyrbfEKZ",
"merchantReference": "B2A8734D-9450-4915-A63D-FE5C21F09550",
"status": "pending",
"trackingUrl": "/v1/tracks/payments/{trackId}",
"reason": {
"code": "required_next_step",
"description": "An additional step is needed to complete the payment."
},
"nextStep": {
"type": "redirect",
"redirect": {
"method": "post",
"url": "https://payment.method/complete",
"params": [
{
"name": "param1",
"value": "value1"
}
]
}
}
}