# Appendix B ARPC Response from Online Processing (EMV Only)

This section gives the format of the data for Command 0x07::0x03 - EMV L2 Online Processing Result. The host sends this command to the device in response to Notification 0x07::0x83 - EMV L2 ARQC Message. The data is a TLV object with the following contents:

## Table - ARPC Response

<table data-header-hidden><thead><tr><th width="97.0909423828125" valign="top"></th><th width="63.63641357421875" valign="top"></th><th valign="top"></th><th width="60.54547119140625" valign="top"></th><th width="67.727294921875" valign="top"></th><th width="94.5452880859375" valign="top"></th></tr></thead><tbody><tr><td valign="top">Tag</td><td valign="top">Len</td><td valign="top">Value / Description</td><td valign="top">Typ</td><td valign="top">Req</td><td valign="top">Default</td></tr><tr><td valign="top">F9</td><td valign="top">var</td><td valign="top">Container for MAC structure and generic data</td><td valign="top">T</td><td valign="top">R</td><td valign="top"> </td></tr><tr><td valign="top">/DFDF54</td><td valign="top">var</td><td valign="top">MAC KSN</td><td valign="top">B</td><td valign="top">R</td><td valign="top"> </td></tr><tr><td valign="top">/DFDF55</td><td valign="top">01</td><td valign="top">MAC Encryption Type</td><td valign="top">B</td><td valign="top">R</td><td valign="top"> </td></tr><tr><td valign="top">/DFDF25</td><td valign="top">var</td><td valign="top">Device Serial Number (IFD Serial Number)</td><td valign="top">B</td><td valign="top">R</td><td valign="top"> </td></tr><tr><td valign="top">/FA</td><td valign="top">var</td><td valign="top">Container for generic data</td><td valign="top">T</td><td valign="top">R</td><td valign="top"> </td></tr><tr><td valign="top">//70</td><td valign="top">var</td><td valign="top">Container for ARPC Response</td><td valign="top">T</td><td valign="top">R</td><td valign="top"> </td></tr><tr><td valign="top"><p> </p><p> </p><p> </p><p>///8A</p></td><td valign="top"><p> </p><p> </p><p> </p><p>02</p></td><td valign="top"><p>Authorization Response Code</p><p>·         “00” = Approved</p><p>·         “10” = Approved</p><p>·         “11” = Approved</p><p>·         “05” = Declined</p><p>·         “51” = Declined</p><p>·         “Z3” = Declined</p></td><td valign="top"><p> </p><p> </p><p> </p><p>AN</p></td><td valign="top"><p> </p><p> </p><p> </p><p>R</p></td><td valign="top"> </td></tr><tr><td valign="top">///91</td><td valign="top">var</td><td valign="top">Issuer Authentication Data</td><td valign="top">B</td><td valign="top">O</td><td valign="top"> </td></tr><tr><td valign="top"><p> </p><p>///71</p></td><td valign="top"><p> </p><p>var</p></td><td valign="top"><p>Issuer Script Template 1</p><p>As defined in <em>EMV Integrated Circuit Card Specifications for Payment Systems 4.3</em>. The host may include as many instances of this parameter as needed.</p></td><td valign="top"><p> </p><p>B</p></td><td valign="top"><p> </p><p>O</p></td><td valign="top"> </td></tr><tr><td valign="top"><p> </p><p>///72</p></td><td valign="top"><p> </p><p>var</p></td><td valign="top"><p>Issuer Script Template 2</p><p>As defined in <em>EMV Integrated Circuit Card Specifications for Payment Systems 4.3</em>. The host may include as many instances of this parameter as needed.</p></td><td valign="top"><p> </p><p>B</p></td><td valign="top"><p> </p><p>O</p></td><td valign="top"> </td></tr></tbody></table>

{% hint style="info" %}
Padding to ensure the length of data, starting at the first byte (F9), and ending with any additional padding, is a multiple of 8 bytes. This is a requirement of using the CBC-MAC algorithm.
{% endhint %}

{% hint style="info" %}
Four byte CBC-MAC. Currently the device does not check this value. The host should set the value to 0x00000000.
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://developer.magtek.com/hardware/oem-readers-and-components/oem-readers/odynamo/documentation/programmers-manuals/programmers-manual-commands/appendices/appendix-b-arpc-response-from-online-processing-emv-only.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
