REST Example: Processing a Sale with Level II Data

Request
{ "processingInformation": { "capture": true }, "orderInformation": { "billTo": { "country": "US", "lastName": "VDP", "address1": "201 S. Division St.", "postalCode": "48104-2201", "locality": "Ann Arbor", "administrativeArea": "MI", "firstName": "RTS", "email": "", "invoiceDetails": { "purchaseOrderNumber": "L2PurchaseOrderNo", "purchaseOrderDate": "2024-11-15", "taxable": true } }, "amountDetails": { "totalAmount": "7.77", "currency": "USD" }, "lineItems": [ { "unitPrice": "7.00", "taxAmount": ".77" } ] }, "paymentInformation": { "card": { "expirationYear": "2031", "number": "4111111111111111", "expirationMonth": "12", "type": "001", "securityCode": "999" } } }
Response to a Successful Request
{ "_links": { "void": { "method": "POST", "href": "/pts/v2/payments/7320306418466109204951/voids" }, "self": { "method": "GET", "href": "/pts/v2/payments/7320306418466109204951" } }, "clientReferenceInformation": { "code": "1732030641881" }, "id": "7320306418466109204951", "orderInformation": { "amountDetails": { "totalAmount": "200.00", "authorizedAmount": "200.00", "currency": "USD" } }, "paymentAccountInformation": { "card": { "type": "001" } }, "paymentInformation": { "tokenizedCard": { "type": "001" }, "card": { "type": "001" } }, "processorInformation": { "systemTraceAuditNumber": "027986", "approvalCode": "831000", "cardVerification": { "resultCodeRaw": "M", "resultCode": "M" }, "merchantAdvice": { "code": "01", "codeRaw": "M001" }, "responseDetails": "ABC", "networkTransactionId": "016153570198200", "retrievalReferenceNumber": "432415027986", "consumerAuthenticationResponse": { "code": "2", "codeRaw": "2" }, "transactionId": "016153570198200", "responseCode": "00", "avs": { "code": "Y", "codeRaw": "Y" } }, "reconciliationId": "7320306418466109204951", "status": "AUTHORIZED", "submitTimeUtc": "2024-11-19T15:37:22Z" }