Emv About aid - chuwuwang/ReadingNote GitHub Wiki
AID
- RID(5 bytes) + PIX(Up to 11 bytes)
- RID: Registration identifiers assigned by the IOS organization, identify a global unique application provider, typically assigned to the card organization.
- PIX: Extended application identifiers are generally defined by the application provider itself.
Card scheme | RID | Product | PIX | AID |
---|---|---|---|---|
UnionPay | A000000333 | Debit | 010101 | A000000333010101 |
UnionPay | A000000333 | Credit | 010102 | A000000333010102 |
UnionPay | A000000333 | Quasi credit | 010103 | A000000333010103 |
UnionPay | A000000333 | Electronic cash | 010106 | A000000333010106 |
Visa | A000000003 | Visa credit or debit | 1010 | A0000000031010 |
Visa | A000000003 | Visa Electron | 2010 | A0000000032010 |
Visa | A000000003 | V Pay | 2020 | A0000000032020 |
Visa | A000000003 | Plus | 8010 | A0000000038010 |
Mastercard | A000000004 | Mastercard credit or debit | 1010 | A0000000041010 |
Mastercard | A000000004 | Mastercard(13) | 9999 | A0000000049999 |
Mastercard | A000000004 | Maestro | 3060 | A0000000043060 |
Mastercard | A000000004 | Cirrus ATM card only | 6000 | A0000000046000 |
Mastercard | A000000005 | Maestro UK (formerly Switch) | 0001 | A0000000050001 |
Discover | A000000324 | ZIP | 1010 | A0000003241010 |
DinersClub/Discover | A000000152 | DinersClub/Discover | 3010 | A0000001523010 |
JCB | A000000065 | Japan Credit Bureau | 1010 | A0000000651010 |
American Express | A000000025 | American Express | 01 | A00000002501 |
MIR - Russia | A000000658 | MIR Debit | 2010 | A0000006582010 |
MIR - Russia | A000000658 | MIR Credit | 1010 | A0000006581010 |
RuPay - India | A000000524 | RuPay | 1010 | A0000005241010 |
Interac - Canada | A000000277 | Debit card | 1010 | A0000002771010 |
What happens when the terminal does not download the AID and RID
- The terminal does not have an AID:
The terminal can find the card and reset it, but when making application selection, the transaction cannot continue because the common application between the terminal and the card cannot be found, then the terminal will take the FALLBACK process and prompt "Please use magnetic stripe card".
- The terminal does not have an RID:
For EMV and Contactless transactions, no RID will generally not cause the transaction to fail, only when doing the "offline data authentication" step will fail authentication, TVR and TSI will be positioned, the terminal will judge based on TAC and TVR, and IAC and TVR, generally will request online, the backend will judge whether the transaction is approved.
For Contactless transactions, there is a situation where the card's money has been deducted, but the terminal indicates that the transaction has failed.