Skip to main content
Accept UnionPay payments with Worldpay as the payment service provider (PSP).

Supported workflows

Before you begin

Complete these steps before you send your first UnionPay payment through Worldpay:
  1. Set up a Worldpay integration in your workspace. Contact your Payrails account team if Worldpay isn’t listed in your Payrails Portal yet.
  2. Ask Worldpay to enable UnionPay on your Worldpay entity.
  3. In the Payrails Portal, go to Settings → Integrations, open your Worldpay integration, select UnionPay under Payment methods, and save.
  4. Add UnionPay as a payment option in your workflow.

Request fields for Worldpay

Send these fields in the authorize request, in addition to the standard authorize fields. Required fields must be present for the payment to succeed. Payrails sends Optional fields to the PSP when you include them. Payrails doesn’t send a billing country or customer details to Worldpay for UnionPay.

Authorize a UnionPay payment

Call authorize a payment with unionPay as the paymentMethodCode. The response includes the redirect to UnionPay.
Authorize request
After the customer confirms the payment, UnionPay returns them to your success or error URL. Confirm the result through webhook notifications or the execution status before you fulfill the order.

How Worldpay handles UnionPay

  • Payrails sets the UnionPay page language to English (en).
  • Payrails gives Worldpay success, pending and failure return URLs for UnionPay, with no separate cancel URL. A payment that doesn’t complete returns the customer to your error URL.
  • When Worldpay reports the payment as pending after the redirect, Payrails waits for the Worldpay webhook to set the final status.
  • Each UnionPay payment is a new customer-initiated payment.
Last modified on October 5, 2026