Void Transaction Request

API Explorer
https://test.spinpos.net:443/SPIn/cgi.html
GET

A Void Transaction request is used to cancel a previously authorized transaction before the batch is closed and sent to the processor. The host system must use data from the original transaction to allow the terminal to locate and process the Void request.

Request Body

application/xml

Response Body

application/xml

curl -X GET "https://example.com" \  -H "Content-Type: application/xml" \  -d '<request>    <AuthKey/>    <RegisterId>1</RegisterId>    <TPN/>    <PaymentType>Credit</PaymentType>    <TransType>Void</TransType>    <Amount>11.00</Amount>    <RefId>3</RefId>    <MerchantId/>    <CustomerEmail/>    <CustomerMobile/>    <IsTxnStatusScreenRequired>true</IsTxnStatusScreenRequired>  </request>'
<response>
  <RefId>2</RefId>
  <RegisterId>3</RegisterId>
  <TPN>yourTPN</TPN>
  <ResultCode>0</ResultCode>
  <Message>Success</Message>
  <PaymentType>Credit</PaymentType>
  <AuthCode>yourAuthCode</AuthCode>
  <PNRef>yourPNRef</PNRef>
  <ExtData>InvNum=1,CardType=VISA,BatchNum=1,Tip=0.00,CashBack=0.00,Fee=0.00,AcntLast4=1234,Name=Dejavoo,TotalAmt=1.00,EntryType=Swipe,TaxCity=0.00,TaxState=0.00,TaxAmount=0.00</ExtData>
</response>