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

Use this information to process a tap-initiated sale for debt recovery with a token.  
A sale transaction combines an authorization and capture. When a cardholder attempts to use a blocked card at the transit reader, create a fresh debt recovery sale request using the chip data from the new tap, along with the fare amount of the previous declined authorization.

Endpoint
--------

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

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

clientReferenceInformation.code
:

clientReferenceInformation.partner.thirdPartyCertificationNumber
:

clientReferenceInformation.transactionId
:

orderInformation.amountDetails.currency
:

orderInformation.amountDetails.totalAmount
:

paymentInformation.card.type
:

pointOfSaleInformation.catLevel
:

pointOfSaleInformation.emv.cardSequenceNumber
:
Set this field to `01`.

pointOfSaleInformation.entryMode
:

pointOfSaleInformation.operatingEnvironment
:

pointOfSaleInformation.terminalCapability
:

pointOfSaleInformation.terminalId
:

pointOfSaleInformation.terminalPinCapability
:

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

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

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

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

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

processingInformation.linkId
:

processingInformation.reconciliationId
:

tokenInformation.jti
:

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

Request

```
{
  "clientReferenceInformation": {
    "code": "CUP Purchase Transit",
    "transactionId": "12845674448",
    "partner": {
      "thirdPartyCertificationNumber": "123456789012"
    }
  },
  "processingInformation": {
    "commerceIndicator": "retail",
    "industryDataType": "transit",
    "reconciliationId": "8897YHGTH09Y",
    "linkId": "7007351831836009903681",
    "capture": "true",
    "authorizationOptions": {
      "debtRecoveryIndicator": "true",
      "deferredAuthIndicator": "true"
    }
  },
  "tokenInformation": {
    "jti": "c76392f4-cde4-11aa-b8bc-0242ac14c074"
  },
  "orderInformation": {
    "amountDetails": {
      "totalAmount": "100.00",
      "currency": "THB"
    }
  },
  "pointOfSaleInformation": {
    "operatingEnvironment": "2",
    "terminalId": "3444",
    "catLevel": "2",
    "entryMode": "contactless",
    "terminalCapability": "5",
    "terminalPinCapability": "0",
    "emv": {
      "cardSequenceNumber": "01"
    }
  },
  "paymentInformation": {
    "card": {
      "type": "062"
    }
  }
}
```

Response to a Successful Request

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

