pinDebitPurchaseReply_authorizationCode {#pin-debit-purchase-reply-authorization-code}
======================================================================================

Approval code. The value of this field depends on service requested. See service-specific description below.

Authorization and Incremental Authorization
:
This field is returned only when the processor sends this value.

Credit
:
This field is returned only when the issuer returns this value and the credit is authorized.

PIN debit
:
Authorization code that is returned by the processor.

`Elavon` Encrypted Account Number Program
:
The returned value is `OFFLINE`.

`TSYS Acquiring Solutions`
:
The returned value for a successful zero amount authorization is `000000`.
**Authorization**

* **Type:** String
* **Length:** Depends on processor

**Incremental Authorization**

* **Data Type:** String
* **Data Length:** 7

**Credit**

* **Data Type:** String
* **Data Length:** 6

Mapping Information {#pin-debit-purchase-reply-authorization-code_d360e146}
---------------------------------------------------------------------------

* **REST API Field:** processorInformation.approvalCode
* **SCMP API Fields:**
  * auth_auth_code
  * credit_auth_code
  * incremental_auth_code
  * oct_approval_code
  * pin_debit_purchase_authorization_code
  * pin_debit_credit_authorization_code
* **Simple Order API Fields:**
  * ccAuthReply_authorizationCode
  * ccCreditReply_authorizationCode
  * ccIncrementalAuthReply_authorizationCode
  * octReply_approvalCode
  * pinDebitCreditReply_authorizationCode
* pinDebitPurchaseReply_authorizationCode

