On This Page

{#jumplink-list}  
[Markdown](/docs/vas/en-us/cp-retail/integration/ctv/rest/cp-retail/pd-processing/pd-credit-swipe-task.md)  
Filter  
FILTER BY TAG

PIN Debit Credit with Swiped Track Data {#pd-credit-swipe-task}
===============================================================

This section describes how to process a PIN debit credit with swiped track data.

Endpoint {#pd-credit-swipe-task_d7e169}
---------------------------------------

**Production:** `POST ``https://api.visaacceptance.com``/pts/v2/credits/`{#pd-credit-swipe-task_d7e178}  
**Test:** `POST ``https://apitest.visaacceptance.com``/pts/v2/credits/`{#pd-credit-swipe-task_d7e188}

Required Fields for a PIN Debit Credit with Swiped Track Data {#pd-credit-swipe-req-fields}
===========================================================================================

clientReferenceInformation.code
:

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

orderInformation.amountDetails.currency
:

orderInformation.amountDetails.totalAmount
:

paymentInformation.card.sourceAccountType
:
Set the value to `UA`.

paymentInformation.card.useAs
:
Leave this field blank.

paymentInformation.paymentType.name
:
Set the value to `CARD`.

paymentInformation.paymentType.subTypeName
:
Set the value to `DEBIT`.

pointOfSaleInformation.entryMode
:
Set the value to `swiped`.

pointOfSaleInformation.terminalCapability
:

pointOfSaleInformation.trackData
:

processingInformation.commerceIndicator
:
Set the value to `retail`.

REST Example: PIN Debit Credit with Swiped Track Data {#pd-credit-swipe-ex-rest}
================================================================================

Request

```
{
  "clientReferenceInformation": {
    "code": "Pin Debit Credit Swiped Track Data",
    "partner": {
      "thirdPartyCertificationNumber": "PTP1234"
    }
  },
  "processingInformation": {
    "commerceIndicator": "retail",
    "networkRoutingOrder": "GUFV"
  },
  "paymentInformation": {
    "paymentType": {
      "name": "CARD",
      "subTypeName": "DEBIT"
    },
    "card": {
      "useAs": "",
      "sourceAccountType": "UA"
    }
  },
  "orderInformation": {
    "amountDetails": {
      "totalAmount": "202.00",
      "currency": "USD"
    }
  },
  "pointOfSaleInformation": {
    "entryMode": "swiped",
    "terminalCapability": 4,
    "trackData": "%B4111111111111111^JONES/JONES ^3312101976110000868000000?;4111111111111111=33121019761186800000?"
  }
}
```

Response to a Successful Request

```
{
  "_links": {
    "void": {
      "method": "POST",
      "href": "/pts/v2/credits/6886766930876811204951/voids"
    },
    "self": {
      "method": "GET",
      "href": "/pts/v2/credits/6886766930876811204951"
    }
  },
  "clientReferenceInformation": {
    "code": "ABC1234" 
  },
  "creditAmountDetails": {
    "currency": "usd",
    "creditAmount": "202.00"
  },
  "id": "6886766930876811204951",
  "orderInformation": {
    "amountDetails": {
      "currency": "usd"
    }
  },
  "processingInformation": {
    "reconciliationId": "6886766930876811204951"
  },
  "processorInformation": {
    "systemTraceAuditNumber": "120775",
    "routing": {
      "network": "0000"
    },
    "approvalCode": "831000",
    "retrievalReferenceNumber": "123456120775",
    "transactionId": "000000000000000",
    "responseCode": "00"
  },
  "reconciliationId": "6886766930876811204951",
  "status": "AUTHORIZED",
  "submitTimeUtc": "2023-06-22T15:50:58Z"
}
```

RELATED TO THIS PAGE

