![]() |
IDTech Universal SDK
1.0.35.038
API reference for C++
|
The methods below are provided as a reference to the main commands needed to execute an EMV transaction.
Begins an amount authorization request with the ICC. Returns authorization decision (approved, denied, or go online) in the callback method.
When the results to emv_startTransaction() come back as EMV_RESULT_CODE.EMV_RESULT_CODE_AUTHENTICATE_TRANSACTION, continuing the EMV transaction requires calling this method.
If start/authenticate transaction returns EMV_RESULT_CODE.EMV_RESULT_CODE_GO_ONLINE, finishing the transaction requires executing emv_completeTransaction().
After receiving a host response, pass host tags (minimum 8A Authorization Response Code) as a parameter.
If there was a communication error with host, finishing the EMV transaction still requires passing "TRUE" for commError.
Methods for Certificate Authority Public Key management. When setting the CAPK, populate and pass the key as a sequence of ordered bytes. When specifying a CAPK to retrieve or remove, populate the name in the byte* pointer. When retrieving the CAPK list, retrieve the list of RID/Index from the ordered byte stream, 6 bytes each, bytes 1-5 RID, byte 6 index.
Methods for Certificate Revocation List management.
Method to retrieve the kernel version.
Method to retrieve the kernel Check Value.
Method to retrieve the EMV configuration check value.
Starts a swipe request. Returns card data in the callback method.
Cancels a swipe request.