Credits with Level II Data

This topic shows you how to process a
credit
with Level II data. These required fields and example are specific to
Visa Platform Connect
.
For required fields, optional fields, and examples specific to your processor see the Level II and Level III Processing developer guides.

Endpoint

Production:
POST
https://api.cybersource.com
/pts/v2/credits/
Test:
POST
https://apitest.cybersource.com
/pts/v2/credits/

Required Fields for Processing a Credit with Level II Data

Use these required fields to process a credit that includes Level II data.
IMPORTANT
When relaxed requirements for address data and the expiration date are being used, not all fields in this list are required. It is your responsibility to determine whether your account is enabled to use this feature and which fields are required. For details about relaxed requirements, see Relaxed Requirements for Address Data and Expiration Date in Payment Transactions.
Required if the sum of all
orderInformation.lineItems[].taxDetails[].amount
values =
0
.
Required for purchase/procurement cards only.
Required if the sum of all
orderInformation.lineItems.taxAmount
values =
0
.
Credits with Level II Data

Optional Fields for Processing a Credit with Level II Data

You can use these optional fields to include additional information when processing a credit request with Level II data.
Credits with Level II Data

REST Example: Processing a Credit with Level II Data

Request
{ "paymentInformation": { "card": { "number": "41111111XXXXXXXX", "expirationMonth": "03", "expirationYear": "2031" } }, "orderInformation": { "amountDetails": { "totalAmount": "200", "currency": "USD" }, "billTo": { "firstName": "John", "lastName": "Deo", "address1": "900 Metro Center Blvd", "locality": "Foster City", "administrativeArea": "CA", "postalCode": "48104-2201", "country": "US", "email": "", "phoneNumber": "9321499232" } } }
Response to a Successful Request
{ "_links": { "void": { "method": "POST", "href": "/pts/v2/credits/6807043651016112003955/voids" }, "self": { "method": "GET", "href": "/pts/v2/credits/6807043651016112003955" } }, "clientReferenceInformation": { "code": "1680704365197" }, "creditAmountDetails": { "currency": "USD", "creditAmount": "200.00" }, "id": "6807043651016112003955", "orderInformation": { "amountDetails": { "currency": "USD" } }, "paymentAccountInformation": { "card": { "type": "001" } }, "paymentInformation": { "tokenizedCard": { "type": "001" }, "card": { "type": "001" } }, "processorInformation": { "approvalCode": "831000", "networkTransactionId": "016153570198200", "retrievalReferenceNumber": "309514100806", "responseCode": "00" }, "reconciliationId": "6807043651016112003955", "status": "PENDING", "submitTimeUtc": "2023-04-05T14:19:25Z" }
Credits with Level II Data