On This Page

{#jumplink-list}  
[Markdown](/docs/cybs/en-us/urban-mobility/developer/ctv/rest/mass-transit/um-processing-sale-mit-intro.md)  
Filter  
FILTER BY TAG

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

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

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

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

Required Fields for a Merchant-Initiated Sale for Debt Recovery with Stored Card Data {#um-processing-sale-mit-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.comments](https://developer.cybersource.com/docs/cybs/en-us/api-fields/reference/all/rest/api-fields/client-ref-info-aa/client-ref-info-comments.md "")
:
Set this field to `TransitDA Debt recovery MIT sale`.

[clientReferenceInformation.partner.solutionId](https://developer.cybersource.com/docs/cybs/en-us/api-fields/reference/all/rest/api-fields/client-ref-info-aa/client-ref-info-partner-solution-id.md "")
:
`Cybersource` provides the value for this field.

[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 "")
:
`Cybersource` provides the value for this field.

[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.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.card.number](https://developer.cybersource.com/docs/cybs/en-us/api-fields/reference/all/rest/api-fields/payment-info-aa/payment-info-card-number.md "")
:

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

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

[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.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 "")
:
Set this field to `true`.

[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 "")
:
Set this field to `true`.

[processingInformation.authorizationOptions.initiator.merchantInitiatedTransaction. previousTransactionId](https://developer.cybersource.com/docs/cybs/en-us/api-fields/reference/all/rest/api-fields/processing-info-aa/processing-info-auth-ops-initiator-mit-txn.md "")
:

[processingInformation.authorizationOptions.initiator.merchantInitiatedTransaction.reason](https://developer.cybersource.com/docs/cybs/en-us/api-fields/reference/all/rest/api-fields/processing-info-aa/processing-info-auth-ops-initiator-mit-reason.md "")
:
Set this field to `1`.

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

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

[processingInformation.authorizationOptions.transportationMode](https://developer.cybersource.com/docs/cybs/en-us/api-fields/reference/all/rest/api-fields/processing-info-aa/processing-info-auth-ops-transportation-mode.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 `moto`.

[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`.
{#um-processing-sale-mit-reqd-fields_dl_hy5_wxf_pdc}

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

Request

```
{
    "clientReferenceInformation": {
        "comments": "TransitDA Debt recovery MIT sale",
        "code": "10000579",
        "transactionId": "20000579",
        "partner": {
            "thirdPartyCertificationNumber": "BPCDRC220403",
            "solutionId": "548UHQ8Z"
        }
    },
    "processingInformation": {
        "commerceIndicator": "moto",
        "industryDataType": "transit",
        "reconciliationId": "1111",
        "capture": "true",
        "authorizationOptions": {
            "debtRecoveryIndicator": "true",
            "authIndicator": "1",
            "ignoreAvsResult": "true",
            "ignoreCvResult": "true",
            "transportationMode": "01",
            "initiator": {
                "type": "merchant",
                "storedCredentialUsed": "true",
                "merchantInitiatedTransaction": {
                    "reason": "1",
                    "previousTransactionId": "016153570198200"
                }
            }
        }
    },
    "paymentInformation": {
        "card": {
            "number": "541333XXXXXXXXXX",
            "expirationMonth": "12",
            "expirationYear": "2049",
            "type": "002"
        }
    },
    "orderInformation": {
        "amountDetails": {
            "totalAmount": "10.00",
            "currency": "EUR"
        }
    }
}
```

Response to a Declined Request

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

RELATED TO THIS PAGE

