Warning |
---|
Development NoticeThe Cardinal Virtual SDK is currently in Beta and is subject to changes within the codebase and documentation. Please reach out to your AE if there are any questions. |
Virtual SDK Lookup Request Example
Lookup Request Example
Code Block |
---|
|
| |
<CardinalMPI> <Algorithm>SHA-512</Algorithm> <Identifier>{{API_KEY_IDENTIFIER}}</Identifier> <OrgUnit>{{ORG_UNIT_ID}}</OrgUnit> <Signature>{{GENERATED_SIGNATURE_VALUE}}</Signature> <Timestamp>{{TIMESTAMP}}</Timestamp> <Version>1.7</Version> <MsgType>cmpi_lookup</MsgType> <TransactionType>C</TransactionType> <OrderNumber>abc123doerayme</OrderNumber> <AcctNumber>4012##88</AcctNumber> <PurchaseAmount>1400</PurchaseAmount> <PurchaseCurrency>840</PurchaseCurrency> <CardNumber>4012##88</CardNumber> <CardExpMonth>09</CardExpMonth> <CardExpYear>2020</CardExpYear> <BillingCity>Mentor</BillingCity> <BillingAddress1>8100 Tyler Blvd</BillingAddress1> <BillingAddress2></BillingAddress2> <BillAddrPostCode>44060</BillAddrPostCode> <BillingCountryCode>840</BillingCountryCode> <BillAddrState>OH</BillAddrState> |
<BillingFirstName>John</BillingFirstName> |
<BillingLastName>Doe</BillingLastName> |
<BillingFullName>John Doe</BillingFullName> |
<CardholderName></CardholderName> <ShippingCity>44060</ShippingCity> <ShippingAddress1>8100 Tyler Blvd</ShippingAddress1> <ShippingAddress2></ShippingAddress2> <ShippingPostalCode>44060</ShippingPostalCode> <BillingPostalCode>44060</BillingPostalCode> <BillingState>OH</BillingState> <ShippingState>OH</ShippingState> <Email>cardinal.mobile.test@gmail.com</Email> <ShippingCountryCode>840</ShippingCountryCode> <Amount>1400</Amount> <AcquirerId>12345</AcquirerId> <AcquirerMerchantId>1234</AcquirerMerchantId> <CategoryCode>5712</CategoryCode> <CountryCodeOverride>840</CountryCodeOverride> <MerchantName>Store Front</MerchantName> <MessageCategory>01</MessageCategory> <ProductCode>01</ProductCode> <CurrencyCode>826</CurrencyCode> <AuthenticationInfo></AuthenticationInfo> <OverridePaymentMethod></OverridePaymentMethod> <AddressMatch></AddressMatch> <Installment></Installment> <MerchantRiskInfo></MerchantRiskInfo> <RecurringEnd></RecurringEnd> <RecurringFrequency></RecurringFrequency> <SourceVersion>2.10</SourceVersion> <AuthenticationIndicator>01</AuthenticationIndicator> <MerchantUrl>http://www.cardinalcommerce.com</MerchantUrl> <!-- Virtual SDK Lookup Request Fields --> <DeviceChannel>sdk</DeviceChannel> <ChallengeRenderInterface>03</ChallengeRenderInterface> <ChallengeRenderType>01</ChallengeRenderType> <ChallengeRenderType>02</ChallengeRenderType> <ChallengeRenderType>03</ChallengeRenderType> <ChallengeRenderType>04</ChallengeRenderType> <ChallengeRenderType>05</ChallengeRenderType> <SdkMaxTimeout>25</SdkMaxTimeout> <SdkTransId>78d42267-6d59-486e-8dba-3a3f427cf375</SdkTransId> |
<SdkEncData>ENCRYPTED DATA</SdkEncData> <SdkEphemPubKey>{"kty":"EC","crv":"P-256","x":"qkStspK65NrI8Dej0oRYGkoEvmWvl18JY_q8FKP20ag","y":"w9HVQNM02zLJ0YAcMaPUCybnAelPpjHKZqUu7aRjZkE"}</SdkEphemPubKey> <SdkAppId>dd86e2ba-626e-4a3e-9c03-324940d47e72</SdkAppId> <SdkReferenceNumber>3DS_LOA_SDK_CACC_020100_00063</SdkReferenceNumber> </CardinalMPI> |
Virtual SDK
Lookup Request Fields
The table below includes the required fields for the Virtual SDK implementation. These have been separated from the rest of the lookup documentation as they are specific to the Virtual SDK.
Field Name | Description | Required | Field Definition |
---|
SdkEphemPubKey
The public key component of the ephemeral key pair generated by the 3DS SDK and used to establish session keys between the 3DS SDK and ACS.
SdkTransId
Universally unique transaction identifier assigned by the 3DS SDK to identify a single transaction.
SdkAppId
Universally Unique ID created upon all installations and updates of the 3DS Requestor App on a Consumer Device. This will be newly generated and stored by the 3DS SDK for each installation or update.
SdkReferenceNumber
Identifies the vendor and version for the 3DS SDK that is integrated into a 3DS Requestor App, assigned by EMVCo when the 3DS SDK is approved.
ACSSignedContent
Contains the JWS object created by the ACS and returned on the ARes message.
The JWS object contains the following data:
- ACS URL
- ACS Ephemeral Public Key
- SDK Ephemeral Public Key
DeviceChannel | Determines the channel that the transaction came through. Possible Values: SDK NOTE: The value of SDK is required for Cardinal Virtual SDK transactions | Y | AN(10) |
ChallengeRenderInterface | Defines the SDK UI types that the device supports for displaying specific challenge user interfaces within the SDK. Equivalent to DeviceRenderOptions.sdkInterface in the EMVCo specification. Possible Values:
| Y | N(2) |
ChallengeRenderType | Specifies a particular SDK UI types that the device supports for displaying challenge user interfaces within the SDK. Multiple fields of this name are allowed. Equivalent to DeviceRenderOptions.sdkUiType in the EMVCo specification. Possible Values:
| Y | N(2) |
SdkMaxTimeout | Maximum time the SDK will wait for all message (in minutes). Accepted Values: Greater than or = 05 | Y | N(2) |
Determines the channel that the transaction came through.
Possible Values:
SDK
NOTE: The value of SDK is required for Cardinal Virtual SDK transactions
Defines the SDK UI types that the device supports for displaying specific challenge user interfaces within the SDK
Virtual SDK Lookup Response Fields
SdkTransId | Universally unique transaction identifier assigned by the 3DS SDK to identify a single transaction. | Y | String(36) |
SdkEncData | JWE object containing data encrypted by the SDK for the DS to decrypt. | Y | String(64000) |
SdkEphemPubKey | The public key component of the ephemeral key pair generated by the 3DS SDK and used to establish session keys between the 3DS SDK and ACS. | Y | JSON Object(6000) |
SdkAppId | Universally Unique ID created upon all installations and updates of the 3DS Requestor App on a Consumer Device. This will be newly generated and stored by the 3DS SDK for each installation or update. | Y | String(36) |
Example
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
<CardinalMPI>
<ProcessorId>123</ProcessorId>
<MerchantId>MERCHANT_ID</MerchantId>
<TransactionPwd>123456789</TransactionPwd>
<Version>1.7</Version>
<MsgType>cmpi_lookup</MsgType>
<TransactionType>C</TransactionType>
<OrderNumber>abc123doerayme</OrderNumber>
<AcctNumber>4012000000010288</AcctNumber>
<PurchaseAmount>0</PurchaseAmount>
<PurchaseCurrency>840</PurchaseCurrency>
<CardNumber>4012000000010288</CardNumber>
<CardExpMonth>09</CardExpMonth>
<CardExpYear>2020</CardExpYear>
<BillingCity>Mentor</BillingCity>
<BillingAddress1>8100 Tyler Blvd 100</BillingAddress1>
<BillingAddress2></BillingAddress2>
<BillAddrPostCode>44094</BillAddrPostCode>
<BillingCountryCode>840</BillingCountryCode>
<BillAddrState>OH</BillAddrState>
<CardholderName>
<BillingFirstName>John Doe</BillingFirstName>
<BillingLastName>John Doe</BillingLastName>
<BillingFullName>John Doe</BillingFullName>
</CardholderName>
<ShippingCity>44094</ShippingCity>
<ShippingAddress1>8100 Tyler Blvd 100</ShippingAddress1>
<ShippingAddress2></ShippingAddress2>
<ShippingPostalCode>44094</ShippingPostalCode>
<DFReferenceId></DFReferenceId>
<BillingPostalCode>44094</BillingPostalCode>
<BillingState>OH</BillingState>
<ShippingState>OH</ShippingState>
<Email>cardinal.mobile.test@gmail.com</Email>
<ShippingCountryCode>840</ShippingCountryCode>
<Amount>0</Amount>
<CurrencyCode>840</CurrencyCode>
<SourceVersion>2.10</SourceVersion>
<ChallengeRenderInterface>01</ChallengeRenderInterface>
<ChallengeRenderType>01</ChallengeRenderType>
<ChallengeRenderType>02</ChallengeRenderType>
<ChallengeRenderType>03</ChallengeRenderType>
<ChallengeRenderType>04</ChallengeRenderType>
<ChallengeRenderType>05</ChallengeRenderType>
<ThreeDSVersion>2.1.0</ThreeDSVersion>
<DeviceChannel>sdk</DeviceChannel>
<MerchantUrl>http://www.cardinalcommerce.com</MerchantUrl>
<AcquirerId>88888</AcquirerId>
<AcquirerMerchantId>89111</AcquirerMerchantId>
<CategoryCode>5712</CategoryCode>
<CountryCodeOverride>840</CountryCodeOverride>
<MerchantName>Sid</MerchantName>
<MessageCategory>01</MessageCategory>
<ProductCode>01</ProductCode>
<SdkMaxTimeout>25</SdkMaxTimeout>
<AuthenticationIndicator>01</AuthenticationIndicator>
<SdkTransId>e1c72b78-8534-49d2-ae18-1e9050e13c61</SdkTransId>
<SdkEncData>ENCRYPTED DATA</SdkEncData>
<SdkEphemPubKey>{"kty":"EC","crv":"P-256","x":"_NohgCJdJMwqAJLf0KvBibZk-kiiBLfVr1aFjq_MXsg","y":"xVWNBHhJpaMb8G6FMwSiD7CyxGji6GYMSyW1A380wuM"}</SdkEphemPubKey>
<SdkAppId>6d9f1f0f-b15c-4200-a2d8-953181edfc6e</SdkAppId>
<SdkReferenceNumber>SdkReferenceNumber</SdkReferenceNumber>
</CardinalMPI> |
SdkReferenceNumber | Identifies the vendor and version for the 3DS SDK that is integrated into a 3DS Requestor App, assigned by EMVCo when the 3DS SDK is approved. | Y | String(32) |
Include Page | ||||
---|---|---|---|---|
|