UnionPayOnlineVersion 1.0.0

UnionPay Online Payment Page

GEThttps://pay.globepay.co/api/v1.0/card_payment_view/partners/{partner_code}/orders/{order_id}/view

This page must be called after the UnionPay order has been created. When jumping back to the redirect URL, it is recommended to call the order query API to make sure the payment has succeeded.

Path Variable

FieldTypeDescription
partner_codeString

Required, Partner code

order_idString

Required, Partner order id. It shall have already been created

Query Params

FieldTypeDescription
redirectString

Required, Redirect url when payment succeeded. Contain sign parameters for validation.

timeLong

Required, UTC timestamp in milliseconds

nonce_strString

Required, Random string

signString

Required, Sign

Error Code

NameDescription
ORDER_NOT_EXIST

Order does not exist

ORDER_MISMATCH

Order is not belong to this partner

SYSTEMERROR

Exception inside system

INVALID_SHORT_ID

Partner code is invalid or there is no partner associated with this code

SIGN_TIMEOUT

Sign expired, the difference between time and the server time is more than 5 minutes

INVALID_SIGN

Invalid sign

PARAM_INVALID

Parameters are invalid. See return_msg for more details.

NOT_PERMITTED

Gateway payment permission has not been enabled for this partner

INVALID_CHANNEL

Channel name is not available, check the Capitalize

ERROR

NameDescription
return_code

Error Code

return_msg

Error Description

PCI DSS Compliant

Security & Compliance

  • PCI DSSPayment Card Industry Data Security Standard compliant
  • TLS 1.2+API accepts TLS 1.2 / 1.3 encrypted connections only
  • SHA-256Every API request must carry a SHA-256 signature

On this page