merchantTransactionIdentifier {#merchant-transaction-identifier}
================================================================

Unique identifier assigned by the client's system. Assigning a unique transaction ID restricts duplicate transaction processing.  
This field is required in these types of requests:

* Authorization
* Sale
* Credit or stand-alone credit
* Refund or follow-on refund
* PIN debit purchase
* PIN debit credit

{#merchant-transaction-identifier_d2159e23}  
When a time-out occurs, the unique identifier can be used to locate and identify these requests. The identifier is used in a subsequent reversal or void request.  
The suggested format for this value is:

* **Positions 1-4:**Last four characters or your merchant ID.
* **Positions 5-7:**Julian date. Format: ddd
* **Positions 8-13:**Time stamp. Format: hhmmss
* **Positions 14-15:** Two arbitrary characters. You can use a counter from 01-99 to generate the arbitrary characters.
  {#merchant-transaction-identifier_d2159e50}  
  This field is supported by this processor: `China UnionPay``Visa Platform Connect`.  
  This response is sent when a duplicate request is detected:

```
"INVALID_REQUEST"
        "reason": "DUPLICATE_REQUEST"
        "message": "Declined - The transaction identifier sent with this request has already been used in the last 60 days"
```

Specifications {#merchant-transaction-identifier_d2159e91}
----------------------------------------------------------

* **Data Type:** String (alphanumeric characters only, A-Z, a-z, and 0-9. No special characters.)
* **Data Length:**
  * PIN Debit Transactions: 15
  * Other Transactions: 30

Mapping Information {#merchant-transaction-identifier_d2159e119}
----------------------------------------------------------------

* **REST API Field:** clientReferenceInformation.transactionId
* **SCMP API Fields:**
  * merchant_transaction_identifier
  * pin_debit_credit_transaction_id
  * pin_debit_purchase_transaction_id
* **Simple Order API Fields:**
  * merchantTransactionIdentifier
  * pinDebitCreditReply_transactionID
* pinDebitPurchaseReply_transactionID

