FILTER BY TAG

REST Example: Processing a Credit with Level II Data

Request
{ "clientReferenceInformation": { "code": "12345678" }, "paymentInformation": { "card": { "number": "41111111XXXXXXXX", "expirationMonth": "12", "expirationYear": "2031" } }, "orderInformation": { "amountDetails": { "totalAmount": "100.00", "currency": "usd" }, "billTo": { "firstName": "RTS", "lastName": "VDP", "address1": "201 S. Division St.", "locality": "Ann Arbor", "administrativeArea": "MI", "postalCode": "48104-2201", "country": "US", "email": "
test@cybs.com
", "phoneNumber": "" }, "shipTo": { "postalCode": "48104-2201" }, "lineItems": [ { "unitPrice": "99.00", "taxAmount": "1.00" } ] } }
Successful Response
{ "_links": { "void": { "method": "POST", "href": "/pts/v2/credits/6837345582966160304953/voids" }, "self": { "method": "GET", "href": "/pts/v2/credits/6837345582966160304953" } }, "clientReferenceInformation": { "code": "12345678" }, "creditAmountDetails": { "currency": "usd", "creditAmount": "100.00" }, "id": "6837345582966160304953", "orderInformation": { "amountDetails": { "currency": "usd" } }, "paymentAccountInformation": { "card": { "type": "001" } }, "paymentInformation": { "tokenizedCard": { "type": "001" }, "card": { "type": "001" } }, "processorInformation": { "approvalCode": "888888", "responseCode": "100" }, "reconciliationId": "76569258PHGW1TWU", "status": "PENDING", "submitTimeUtc": "2023-05-10T16:02:38Z" }