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.cybersource.com``/pts/v2/payments`  
**Production:** `POST ``https://api.cybersource.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](https://developer.cybersource.com/docs/cybs/en-us/api-fields/reference/all/rest/api-fields/client-ref-info-aa/client-ref-info-code.md "")
:

[clientReferenceInformation.partner.thirdPartyCertificationNumber](https://developer.cybersource.com/docs/cybs/en-us/api-fields/reference/all/rest/api-fields/client-ref-info-aa/client-ref-info-partner-third-party-certnum.md "")
:

[clientReferenceInformation.transactionId](https://developer.cybersource.com/docs/cybs/en-us/api-fields/reference/all/rest/api-fields/client-ref-info-aa/client-ref-info-transaction-id.md "")
:

[orderInformation.amountDetails.currency](https://developer.cybersource.com/docs/cybs/en-us/api-fields/reference/all/rest/api-fields/order-info-aa/order-info-amount-details-currency.md "")
:

[orderInformation.amountDetails.totalAmount](https://developer.cybersource.com/docs/cybs/en-us/api-fields/reference/all/rest/api-fields/order-info-aa/order-info-amount-details-total-amount.md "")
:

[paymentInformation.card.cardType](https://developer.cybersource.com/docs/cybs/en-us/api-fields/reference/all/rest/api-fields/payment-info-aa/payment-info-card-card-type.md "")
:

[paymentInformation.card.expirationMonth](https://developer.cybersource.com/docs/cybs/en-us/api-fields/reference/all/rest/api-fields/payment-info-aa/payment-info-card-exp-mo.md "")
:

[paymentInformation.card.expirationYear](https://developer.cybersource.com/docs/cybs/en-us/api-fields/reference/all/rest/api-fields/payment-info-aa/payment-info-card-exp-year.md "")
:

[paymentInformation.instrumentIdentifier.id](https://developer.cybersource.com/docs/cybs/en-us/api-fields/reference/all/rest/api-fields/payment-info-aa/payment-info-instrument-identifier-id.md "")
:

[processingInformation.authorizationOptions.debtRecoveryIndicator](https://developer.cybersource.com/docs/cybs/en-us/api-fields/reference/all/rest/api-fields/processing-info-aa/processing-info-auth-ops-debt-recovery-ind.md "")
:
Set this field to `true`.

[processingInformation.authorizationOptions.deferredAuthIndicator](https://developer.cybersource.com/docs/cybs/en-us/api-fields/reference/all/rest/api-fields/processing-info-aa/processing-info-auth-ops-deferred-auth-ind.md "")
:
Set this field to `true`.

[processingInformation.authorizationOptions.ignoreAvsResult](https://developer.cybersource.com/docs/cybs/en-us/api-fields/reference/all/rest/api-fields/processing-info-aa/processing-info-auth-ops-ignore-avs-result.md "")
:

[processingInformation.authorizationOptions.ignoreCvResult](https://developer.cybersource.com/docs/cybs/en-us/api-fields/reference/all/rest/api-fields/processing-info-aa/processing-info-auth-ops-ignore-cv-result.md "")
:

[processingInformation.capture](https://developer.cybersource.com/docs/cybs/en-us/api-fields/reference/all/rest/api-fields/processing-info-aa/processing-info-capture-a.md "")
:
Set this field to `true`.

[processingInformation.commerceIndicator](https://developer.cybersource.com/docs/cybs/en-us/api-fields/reference/all/rest/api-fields/processing-info-aa/processing-info-commerce-ind.md "")
:
Set this field to `internet`.

[processingInformation.industryDataType](https://developer.cybersource.com/docs/cybs/en-us/api-fields/reference/all/rest/api-fields/processing-info-aa/processing-info-industry-data-type.md "")
:
Set this field to `transit`.

[processingInformation.linkId](https://developer.cybersource.com/docs/cybs/en-us/api-fields/reference/all/rest/api-fields/processing-info-aa/processing-info-link-id.md "")
:

[processingInformation.reconciliationId](https://developer.cybersource.com/docs/cybs/en-us/api-fields/reference/all/rest/api-fields/processing-info-aa/processing-info-reconciliation-id.md "")
:

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"
}
```

