FILTER BY TAG

REST Example: Voiding a Sale or Capture Initiated With a Payment Card

Request
{ "clientReferenceInformation": { "code": "RTS-Void", "comments": "Sale Void", "partner": { "thirdPartyCertificationNumber": "testTPCN", "developerId": "cup12", "solutionId": "cup123" } }, "processingInformation": { "commerceIndicator": "retail" }, "pointOfSaleInformation": { "encryptedPin": "AC287D0B9C81B5AE", "encryptedKeySerialNumber": "23288800020018400013", "pinBlockEncodingFormat": "0", "terminalPinCapability": "6", "terminalId": "12345678", "trackData": ";8171999900000018=30102010000000000000?", "entryMode": "contact", "emv": { "cardSequenceNumber": "001" } } }
Response to a Successful Request
{ "_links": { "self": { "method": "GET", "href": "/pts/v2/voids/7848068861837009211061" } }, "clientReferenceInformation": { "code": "RTS-Void" }, "id": "7848068861837009211061", "orderInformation": { "amountDetails": { "currency": "CNY" } }, "processorInformation": { "settlementDate": "0723", "responseCode": "00" }, "reconciliationId": "620411220523", "status": "VOIDED", "submitTimeUtc": "2026-07-23T11:41:27Z", "voidAmountDetails": { "currency": "cny", "voidAmount": "320.00" } }