UnionPay

Testing

Availability
This integration for UnionPay has been deprecated, as UnionPay can now be processed as a credit card through their partnership with Discover. See our credit card guide for more information.

Test card numbersAnchorIcon

When testing UnionPay in the sandbox environment, you can use any of the following cards to test your integration.
Test ValueCard TypeDescription
6212345678901265UnionPayDebit card
6212345678901232UnionPayCredit card
6212345678900028UnionPayCard that is not supported within Braintree.
6212345678900036UnionPayCard that is not activated for use online.
6212345678900085UnionPayCard that does not require SMS verification.
6212345678900093UnionPay Card that does not support separate Transaction: Submit For Settlement calls.
62123456789002UnionPayCard with a 14 digit number.
621234567890003UnionPayCard with a 15 digit number.
62123456789000003UnionPayCard with a 17 digit number.
621234567890000002UnionPayCard with a 18 digit number.
6212345678900000003UnionPayCard with a 19 digit number.

Testing other error casesAnchorIcon

You can trigger additional error cases by sending special values in certain fields when performing verification or enrollment API calls.
FieldTest ValueDescription
smsCode999999Customer entered incorrect SMS code.
expirationYearAny year before 2010Customer entered expired card.
expirationDateAny year before 2010Customer entered expired card.

If you accept cookies, we’ll use them to improve and customize your experience and enable our partners to show you personalized PayPal ads when you visit other sites. Manage cookies and learn more