REST API

Test Cases for 3-D Secure 2.x

Use the card number specified in the test with the card’s expiration date set to the month of January and the current year plus three. For example, for 2023, use 2026. You also need the minimum required fields for an order.
Be sure to remove spaces in card numbers when testing.
The transaction ID (XID) values are included in 3-D Secure 2.x test cases for legacy reasons. Only Mastercard transactions do not return XID.
While the 3-D Secure version and directory server transaction ID fields are returned for the Check Enrollment and Validate Authentication services, this data is not included in the 3-D Secure 2.x test cases.
IMPORTANT
Mastercard requires that the 3-D Secure version and directory server transaction ID be included along with all pertinent data in your authorization request.