Merchant-Initiated Authorization for Debt Recovery with Stored Card Data {#um-processing-auth-mit-intro}
========================================================================================================

Use this information to process a merchant-initiated authorization for debt recovery with stored card data.

Endpoint {#um-processing-auth-mit-intro_d7e16}
----------------------------------------------

**Production:** `POST ``https://api.visaacceptance.com``/pts/v2/payments`{#um-processing-auth-mit-intro_d7e25}  
**Test:** `POST ``https://apitest.visaacceptance.com``/pts/v2/payments`{#um-processing-auth-mit-intro_d7e35}

Required Fields for a Merchant-Initiated Authorization for Debt Recovery with Stored Card Data {#um-processing-auth-mit-reqd-fields}
====================================================================================================================================

clientReferenceInformation.code
:

clientReferenceInformation.comments
:
Set this field to `TransitDA Debt recovery MIT auth`.

clientReferenceInformation.partner.solutionId
:
`Visa Acceptance Solutions` provides the value for this field.

clientReferenceInformation.partner.thirdPartyCertificationNumber
:
`Visa Acceptance Solutions` provides the value for this field.

clientReferenceInformation.transactionId
:

orderInformation.amountDetails.currency
:

orderInformation.amountDetails.totalAmount
:

paymentInformation.card.expirationMonth
:

paymentInformation.card.expirationYear
:

paymentInformation.card.number
:

paymentInformation.card.type
:

processingInformation.authorizationOptions.debtRecoveryIndicator
:
Set this field to `true`.

processingInformation.authorizationOptions.ignoreAvsResult
:
Set this field to `true`.

processingInformation.authorizationOptions.ignoreCvResult
:
Set this field to `true`.

processingInformation.authorizationOptions.initiator.credentialStoredOnFile
:
Set this field to `false`.

processingInformation.authorizationOptions.initiator.merchantInitiatedTransaction. previousTransactionId
:

processingInformation.authorizationOptions.initiator.merchantInitiatedTransaction.reason
:
Set this field to `1`.

processingInformation.authorizationOptions.initiator.storedCredentialUsed
:
Set this field to `true`.

processingInformation.authorizationOptions.initiator.type
:
Set this field to `merchant`.

processingInformation.commerceIndicator
:
Set this field to `moto`.

FIELD
:
Set this field to `transit`.
{#um-processing-auth-mit-reqd-fields_dl_ls1_4wf_pdc}

REST Example: Merchant-Initiated Authorization for Debt Recovery with Stored Card Data {#um-processing-auth-mit-ex-rest}
========================================================================================================================

Request

```
{
    "clientReferenceInformation": {
        "comments": "TransitDA Debt recovery MIT auth",
        "code": "10000596",
        "transactionId": "20000596",
        "partner": {
            "thirdPartyCertificationNumber": "BPCDRC220403",
            "solutionId": "548UHQ8Z"
        }
    },
    "processingInformation": {
        "commerceIndicator": "moto",
        "industryDataType": "transit",
        "authorizationOptions": {
            "debtRecoveryIndicator": "true",
            "ignoreAvsResult": "true",
            "ignoreCvResult": "true",
            "initiator": {
                "type": "merchant",
                "credentialStoredOnFile": "false",
                "storedCredentialUsed": "true",
                "merchantInitiatedTransaction": {
                    "reason": "1",
                    "previousTransactionId": "016153570198200"
                }
            }
        }
    },
    "paymentInformation": {
        "card": {
            "number": "476173XXXXXXXXXX",
            "expirationMonth": "12",
            "expirationYear": "2024",
            "type": "001"
        }
    },
    "orderInformation": {
        "amountDetails": {
            "totalAmount": "10.00",
            "currency": "EUR"
        }
    }
}
```

Response to a Declined Request

```
{
    "_links": {
        "self": {
            "method": "GET",
            "href": "/pts/v2/payments/6508883374816631904001"
        }
    },
    "clientReferenceInformation": {
        "code": "10000596",
        "partner": {
            "solutionId": "548UHQ8Z"
        },
        "transactionId": "20000596"
    },
    "errorInformation": {
        "reason": "PROCESSOR_DECLINED",
        "message": "Decline - General decline of the card. No other information provided by the issuing bank."
    },
    "id": "6508883374816631904001",
    "pointOfSaleInformation": {
        "emv": {
            "tags": "9F36020015910AB58D60185BEF0247303072179F180430303031860E04DA9F580903B1BAEDFD1438BA48"
        }
    },
    "processorInformation": {
        "systemTraceAuditNumber": "164869",
        "networktransactionId": "016153570198200",
        "retrievalReferenceNumber": "211512164869",
        "transactionId": "016153570198200",
        "responseCode": "05",
        "avs": {
            "code": "1"
        }
    },
    "status": "DECLINED"
}
```

