Merchant-Initiated Sale for Debt Recovery with a Token {#um-processing-sale-mit-tkn-intro}
==========================================================================================

Use this information to process a merchant-initiated sale for debt recovery with a token.

Endpoint
--------

**Test:** `POST ``https://apitest.visaacceptance.com``/pts/v2/payments`  
**Production:** `POST ``https://api.visaacceptance.com``/pts/v2/payments`

Required Fields for a Merchant-Initiated Sale for Debt Recovery with a Token {#um-processing-sale-mit-tkn-reqd-fields}
======================================================================================================================

clientReferenceInformation.code
:

clientReferenceInformation.partner.thirdPartyCertificationNumber
:

clientReferenceInformation.transactionId
:

orderInformation.amountDetails.currency
:

orderInformation.amountDetails.totalAmount
:

paymentInformation.card.cardType
:

paymentInformation.card.expirationMonth
:

paymentInformation.card.expirationYear
:

paymentInformation.instrumentIdentifier.id
:

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

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

processingInformation.authorizationOptions.ignoreAvsResult
:

processingInformation.authorizationOptions.ignoreCvResult
:

processingInformation.capture
:
Set this field to `true`.

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

processingInformation.industryDataType
:
Set this field to `transit`.

processingInformation.linkId
:

processingInformation.reconciliationId
:

REST Example: Merchant-Initiated Sale for Debt Recovery with a Token {#um-processing-sale-mit-tkn-ex-rest-cup}
==============================================================================================================

Request

```
{
    "clientReferenceInformation": {
        "code": "CUP Purchase Transit",
        "transactionId": ""12845678",
        "partner": {
            "thirdPartyCertificationNumber": "123456789012"
        }
    },
    "processingInformation": {
        "commerceIndicator" : "internet",
        "industryDataType": "transit",
        "reconciliationId": "897YHGTHJUY",
        "linkId": "7007351831836009903681",
        "capture": "true",
        "authorizationOptions": {
            "debtRecoveryIndicator": "true",
            "deferredAuthIndicator": "true",
            "ignoreAvsResult": "true",
            "ignoreCvResult": "true"
            }
        }
    },
    "paymentInformation": {
        "card": {
            "expirationMonth": "12",
            "expirationYear": "2033",
            "cardType": "062"
        },
        "instrumentIdentifier": {
            "id": "0ABF155EB33E8FC2E0633F36CF0A0220"
        }
    },
    "orderInformation": {
        "amountDetails": {
            "totalAmount": "100.00",
            "currency": "THB"
        }
    }
}
```

Response to a Successful Request

```
{
    "_links": {
        "void": {
            "method": "POST",
            "href": "/pts/v2/payments/7012397101156081303137/voids"
        },
        "self": {
            "method": "GET",
            "href": "/pts/v2/payments/7012397101156081303137"
        }
    },
    "clientReferenceInformation": {
        "code": "CUP Purchase Transit",
        "transactionId": "12845678"
    },
    "id": "7012397101156081303137",
    "orderInformation": {
        "amountDetails": {
            "totalAmount": "100.00",
            "authorizedAmount": "100.00",
            "currency": "THB"
        }
    },
    "paymentAccountInformation": {
        "card": {
            "type": "062"
        }
    },
    "paymentInformation": {
        "tokenizedCard": {
            "type": "062"
        },
        "instrumentIdentifier": {
            "id": "0ABF155EB33E8FC2E0633F36CF0A0220",
            "state": "ACTIVE"
        },
        "card": {
            "type": "062"
        }
    "processorInformation": {
        "approvalCode": "005290",
        "settlementDate": "0501",
        "responseCode": "00",
        "avs": {
            "code": "2"
        }
    },
    "reconciliationId": "8897YHGTHJUY",
    "status": "AUTHORIZED",
    "submitTimeUtc": "2023-11-29T06:35:11Z"
}
```

