REST Example: Processing a Credit with Level III Data {#l23-l3-processing-credit-ex-rest-ctv}
=============================================================================================

Request

```keyword
{
  "processingInformation": {
    "purchaseLevel": "3"
  },
  "paymentInformation": {
    "card": {
      "number": "411111111111XXXX",
      "expirationMonth": "03",
      "expirationYear": "2031"
    }
  },
  "orderInformation": {
    "amountDetails": {
      "totalAmount": "200",
      "currency": "USD",
      "nationalTaxIncluded": "0",
      "lineItems": [
        {
          "productCode": "service",
          "productName": "TestProduct1",
          "quantity": "2",
          "unitPrice": "40.00",
          "unitOfMeasure": "EA",
          "totalAmount": "100.00",
          "taxAmount": "20.00"
        }
      ],
      "invoiceDetails": {
        "purchaseOrderNumber": "L3PurchaseOrderNo",
        "purchaseOrderDate": "2024-11-15",
        "taxable": true
      }
    },
    "billTo": {
      "firstName": "John",
      "lastName": "Deo",
      "address1": "900 Metro Center Blvd",
      "locality": "Foster City",
      "administrativeArea": "CA",
      "postalCode": "48104-2201",
      "country": "US",
      "email": "test@cybs.com",
      "phoneNumber": "9321499232"
    }
  }
}
```

{#l23-l3-processing-credit-ex-rest-ctv_codeblock_wmc_gfn_vwb}  
Response to a Successful Request

```
{
  "_links": {
    "void": {
      "method": "POST",
      "href": "/pts/v2/credits/7320300261536812104951/voids"
    },
    "self": {
      "method": "GET",
      "href": "/pts/v2/credits/7320300261536812104951"
    }
  },
  "clientReferenceInformation": {
    "code": "1732030026199"
  },
  "creditAmountDetails": {
    "currency": "USD",
    "creditAmount": "200.00"
  },
  "id": "7320300261536812104951",
  "orderInformation": {
    "amountDetails": {
      "currency": "USD"
    }
  },
  "paymentAccountInformation": {
    "card": {
      "type": "001"
    }
  },
  "paymentInformation": {
    "tokenizedCard": {
      "type": "001"
    },
    "card": {
      "type": "001"
    }
  },
  "reconciliationId": "7320300261536812104951",
  "status": "PENDING",
  "submitTimeUtc": "2024-11-19T15:27:06Z"
}
```

{#l23-l3-processing-credit-ex-rest-ctv_codeblock_ymc_gfn_vwb}
