GenerateAuthRequestCryptogram
Source:
src/AWS/PaymentCryptography/GenerateAuthRequestCryptogram.ts
Runtime binding for payment-cryptography:GenerateAuthRequestCryptogram —
generates an Authorization Request Cryptogram (ARQC) for AS2805 terminal
transactions under an EMV issuer master Key. Provide
GenerateAuthRequestCryptogramHttp on the Function to satisfy this
service.
EMV Cryptograms
Section titled “EMV Cryptograms”// initconst generateArqc = yield* PaymentCryptography.GenerateAuthRequestCryptogram(issuerMasterKey);
// runtimeconst generated = yield* generateArqc({ TransactionData: transactionDataHex, MajorKeyDerivationMode: "EMV_OPTION_A", SessionKeyDerivationAttributes: { EmvCommon: { PrimaryAccountNumber: pan, PanSequenceNumber: "00", ApplicationTransactionCounter: "0001" }, },});