REST Example: Processing a Credit with Level III Data

Light Dark
Request
1234567891011121314151617181920212223242526272829303132333435363738394041424344
{"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" } }}
Response to a Successful Request
123456789101112131415161718192021222324252627282930313233343536373839
{"_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"}