How a UnionPay payment works
UnionPay is a redirect payment method:- The customer selects UnionPay at checkout.
- Payrails returns a redirect URL from Worldpay, and the customer goes to UnionPay.
- The customer confirms the payment on the UnionPay page.
- UnionPay sends the customer back to your
returnInfoURL. - Payrails receives the final result from Worldpay and updates the payment.
Supported currencies and countries
Payrails sends the currency you provide to Worldpay without checking it first. Worldpay rejects a currency outside UnionPay coverage. UnionPay is available to customers based in:| Regions | Countries |
|---|---|
| Asia Pacific | 🇨🇳 China |
Integrate UnionPay
Choose the PSP that processes UnionPay for you. The guide covers the PSP-side setup, the Payrails configuration and the request fields that PSP requires.Worldpay
UnionPay via Worldpay
Check PSPs
| Workflow | Worldpay |
|---|---|
| Payrails SDK | ✔ |
| Payrails API | ✔ |
| Delayed / Manual Capture | ✖ |
| Instant Capture | ✔ |
| Cancel / Void | ✖ |
| Refund / Reverse | ✔ |
| Save Instruments | ✖ |
| Merchant Initiated Transaction (MIT) | ✖ |
Ways to integrate UnionPay
- Payrails SDK: the Web SDK shows UnionPay when your workflow returns it as a payment option.
- Payrails API: call lookup payment options, then authorize with
unionPayas thepaymentMethodCode. The PSP guide lists themetafields that PSP requires.