← Payment Reference GuidesAuthentication Reference

3D Secure / EMV 3DS

The cardholder authentication protocol for card-not-present transactions. 3DS2 adds frictionless, decoupled, and challenge flows while enabling SCA compliance under PSD2 and reducing CNP fraud liability.

Message Reference

EMV 3DS uses JSON messages over HTTPS. Key message types are AReq/ARes (authentication), CReq/CRes (challenge), and RReq/RRes (results).

AReq (Authentication Request) — Key Fields

FieldTypeDescription
messageTypeStringAlways "AReq"
messageVersionString"2.1.0" or "2.2.0" — protocol version
threeDSServerTransIDUUIDUnique transaction identifier assigned by the 3DSS
acctNumberStringCardholder PAN (16-19 digits)
acctExpiryStringCard expiry in YYYYMM format
deviceChannelString01=App, 02=Browser, 03=3RI (3DS Requestor Initiated / Decoupled)
messageCategoryString01=Payment authentication, 02=Non-payment authentication
mccStringMerchant Category Code (4 digits)
merchantCountryCodeStringISO 3166-1 numeric country code
purchaseAmountStringAmount in minor currency units
purchaseCurrencyStringISO 4217 numeric currency code
notificationURLStringMerchant URL for receiving CRes and RReq callbacks
browserInfoObjectBrowser fingerprint: userAgent, acceptHeader, screenHeight/Width, colorDepth, timeZoneOffset, javaEnabled, language
threeDSCompIndStringY/N — indicates whether 3DS Method completed (device fingerprinting pre-step)

ARes (Authentication Response) — Key Fields

FieldDescription
transStatusAuthentication outcome — see table below
acsChallengeMandatedY/N — issuer requires challenge regardless of requestor preference
acsTransIDACS-assigned transaction UUID — required for challenge messages
authenticationValueCAVV (28-char base64) — present when transStatus=Y or A
eciElectronic Commerce Indicator — see ECI table below
transStatusReasonReason code when transStatus is N, U, or R (e.g., 01=card auth failed, 07=suspected fraud)

transStatus Values

ValueMeaningAction
YAuthentication verifiedProceed to authorization. Full liability shift to issuer. Include CAVV + ECI.
AProof of authentication attemptProceed to authorization. Partial liability shift. Include CAVV + ECI=06.
CChallenge requiredInitiate challenge flow. Wait for CRes/RReq before proceeding.
DDecoupled authentication confirmedInitiate decoupled flow. Wait for RReq (up to 1 hour).
NNot authenticated / deniedDo not proceed to authorization. Transaction should be declined.
UAuthentication could not be performedProceed at merchant's discretion (no liability shift). Technical error in ACS.
RAuthentication rejectedDo not proceed. Issuer is rejecting the transaction outright (fraud suspicion).

ECI Values by Network

NetworkECIMeaning
Visa05Fully authenticated (transStatus=Y)
06Authentication attempted (transStatus=A)
07No 3DS authentication
Mastercard02Fully authenticated (transStatus=Y)
01Authentication attempted (transStatus=A)
00No 3DS authentication
Amex05Fully authenticated
06Authentication attempted
07No authentication