Transaction Request

Transaction request is a function of Dejavoo terminals which allow to initialise a payment transaction from a terminal.

{
  "Tpn": "Z11INVTEST07",
  "clerk_id": null,
  "table_num": 2,
  "ticket_num": null,
  "guest_num": null,
  "Key": null,
  "RegisterId": "3636043",
  "AuthKey": "zbhRAW9N6x",
  "get_list": null,
  "server_num": null,
  "invoice_num": null,
  "Login": null
}
 REQUEST FIELD DESCRIPTION

Value

Type

Comments

tpn

string

TPN

Clerk_id

int

Value of prompt “Clerk”. Not mandatory (unused) field  for AURA. Now it is server_num

Table_num

int

Value of prompt “Table”  

Ticket_num

int

Value of prompt “Ticket”. Not mandatory (unused) field  for AURA. Now it is  invoice_num

Guest_num

int

Value of prompt “Guest”  

Key

string

Not mandatory(unused) field

RegisterId

string

CashRegister ID on Proxy

AuthKey

string

Proxy AuthKey

get_list

boolean

True - Value of prompt “All”

False - Value of prompt “Server”, “Table”, “Invoice”

server_num

int

Server ID

invoice_num

int

Invoice ID

Login

 

 

Example of Transaction Request Web API Client (.NET)

https://bitbucket.org/ipossystems/spin-transaction-request-listener-test-example

The example service listens to requests from a SPIn Proxy and saves them to a log.
This service has to be available for external requests from the Internet.

If you have any questions, please contact us: [email protected]

Select (Invoice list)

Select is a server’s response to the transaction request. Includes list of orders based on selection criteria.

Use the Request matrix to determine whether each of the fields is required or not.

XML Request

http://test.dvmms.com/spin/cgi.html?TerminalTransaction=
<request>
    <PaymentType>Restaurant</PaymentType>
    <TransType>Select</TransType>
    <RegisterId>3284054</RegisterId>
    <AuthKey>zbhRAW9N6x</AuthKey>
    <InvoiceList title="Test Invoices" count="7">
        <Invoice id="1" name="John Abrams" amount="10000" type="open" />
        <Invoice id="2" name="Maggie Shaw" amount="250" type="incomplete" />
        <Invoice id="3" name="Adam Lincoln" amount="570" type="open" />
        <Invoice id="4" name="Buddy Rich" amount="1440" type="closed" />
        <Invoice id="5" name="Generic delivery guy 5" amount="909" type="incomplete" />
        <Invoice id="6" name="Rodger Federer" amount="14040" type="closed" />
        <Invoice id="7" name="Casper the Ghost" amount="666" type="closed" />
    </InvoiceList>
</request>

 REQUEST FIELD DESCRIPTION

Name

Length

Description

Attributes

Rules

AuthKey

..25

Specifies the Authentication Key, which authorizes Host system to use the SPin™ Web Service

-

-

PaymentType

5..10

Indicates electronic data capture (EDC) type. Value set:

  • Credit – credit card processing (US only).

  • Debit – US debit card processing (US only).

  • EBT_Food – EBT SNAP processing (US only).

  • EBT_Cash – EBT Cash processing (US only).

  • Card – credit/debit card processing (Canada only).

  • Cash – cash processing.

  • Check – check processing.

  • Gift – gift card processing (in dollars).

  • Loyalty – gift card processing (in points).

  • Prepaid – prepaid loyalty processing.

  • Restaurant – restaurant application API.

-

 Click here to expand...

1. Credit, Debit, EBT_Food and EBT_Cash values are only available if Credit/Debit/EBT application is installed on the terminal and configured for US environment.
2. Card value is only available if Credit/Debit/EBT application is installed on the terminal and configured for Canada environment.
3. Cash value is only available if Cash application is installed on the terminal.
4. Check value is only available if Check application is installed on the terminal.
5. Gift and Loyalty values are only available if Gift application is installed on the terminal. Loyalty may not be available for certain payment processors.
6. Prepaid value is only available if Loyalty application is installed on the terminal and Rewardy processor is being used.
7. Restaurant value is only available if Table application is installed on the terminal and is in online mode

RegisterId

..50

Unique alphanumeric register identifier. Can be used to identify the terminal in SPin Proxy environment

-

-

TPN

..12

Unique terminal ID. Can be used to identify the terminal in SPin Proxy environment

-

-

TransType

4..12

Indicates the type of transaction to be run. Value set:

 Click here to expand...

1. AddPoints (Add Points)Activate
2. Auth
3.Balance
4.Capture
5. CashAdvance (Cash Advance, supported by limited number of processors)
6. Conversion
7. ConversionNG (Conversion Non-Guarantee)
8. Deactivate
9. Get
10. Pay
11. Inquire
12. Redeem
13.Reissue
14.Reload
15. Return
16. Refund
17. Sale
18. Select
19. Status
20.Ticket
21. TipAdjust (Tip Adjustment)
22. Topup
23. Verification
24. Void

-

 Click here to expand...

1. Sale and Return values are available for Credit, Debit, EBT_Food, EBT_Cash, Card, Cash and Prepaid PaymentType only.
2. Void value is available for Credit, Gift and Loyalty PaymentType only.
3. Auth, Ticket, Capture, TipAdjust and CashAdvance values are available for Credit PaymentType only.
4. Status value is available for Credit, Debit, EBT_Food, EBT_Cash, Card, Cash, Check and Gift PaymentType only. For more, see Status and Transaction Retrieval.
5. Balance value is availalbe for EBT_Food and EBT_Cash PaymentType only.
6. Verification, Conversion and ConversionNG values are available for Check PaymentType only.
7. Activate, Inquire, Deactivate, Redeem, Refund, Reissue and Reload values are available for Gift and Loyalty PaymentType only.
8. AddPoints value is available for Loyalty PaymentType only.
9. Topup value is available for Prepaid PaymentType only.
10. Select and Pay values are available for Restaurant PaymentType only.
11. Get value is available for Credit, Debit, EBT_Food, EBT_Cash and Card PaymentType only

Invoice

Variable

Invoice details.

  • id – unique invoice/ticket number.

  • name – the name of the invoice (non-AURA only).

  • amount – total invoice amount.

  • type – invoice type:

a) open – there were no payments made to cover this invoice;

b) incomplete – the invoice was paid for, but not covered completely;

c) closed – the invoice is covered and closed

-

InvoiceList

Variable

A parent tag containing list of invoices/tickets available for processing. For more see Restaurant transactions and Invoice service

NOTE: Only used in Invoice service. - count – the number of invoices/tickets present on the list.

title – the title of the invoice list screen to be displayed.

Can be used both in Restaurant requests and Invoice service.

XML Response

<xmp>
    <response>
        <RegisterId>3284054</RegisterId>
        <Message>Selected</Message>
        <ID>2</ID>
    </response>
</xmp>

Pay (Invoice data) - Restaurant

Pay it is a request with order data that allows the operator to cover the order.

Use the Request matrix to determine whether each of the fields is required or not.

XML Request

http://test.dvmms.com/spin/cgi.html?TerminalTransaction=
<request>
    <PaymentType>Restaurant</PaymentType>
    <TransType>Pay</TransType>
    <RegisterId>3636044</RegisterId>
    <RefId>12345</RefId>
    <AuthKey>zbhRAW9N6x</AuthKey>
    <InvoiceData id="1" name="John Abrams">
        <AmountPaid>5000</AmountPaid>
        <TotalAmount>10000</TotalAmount>
        <Goods count="5">
            <Item name="miso soup" amount="3000" quantity="1" />
            <Item name="coffee" amount="3600" quantity="2" />
            <Item name="cheeseburger" amount="1000" quantity="1" />
            <Item name="hamburger" amount="900" quantity="1" />
            <Item name="pancake" amount="1500" quantity="1" />
        </Goods>
    </InvoiceData>
</request>
 REQUEST FIELD DESCRIPTION

Name

Length

Description

Attributes

Rules

Alert

..2

If request is valid, terminal will beep N times before prompting for card, where N is the value of this field.

Available on 07/12/2017 and higher versions only

AmountPaid

..10

The amount the customer has already paid to cover the invoice/ticket. Only eligible for Restaurant transactions.

-

If ticket has no payments in it, must be set to 0.

Use it only for the Aura

AuthKey

..25

Specifies the Authentication Key, which authorizes Host system to use the SPin™ Web Service

-

-

Goods

Variable

Contains the list of goods included in the invoice.

count – the number of items on the list

-

InvoiceData

Variable

A parent tag containing invoice/ticket data. For more see Restaurant transactions and Invoice service.

  • id – unique invoice/ticket ID.

  • name – the name of the invoice/ticket to be displayed. Only used in Invoice service.

Can be used both in Restaurant requests and Invoice service.

Item

The description of the item on the goods list.

  • name – the name of the item to be displayed.

  • amount – total cost of all items of this type.

  • quantity – the number of items of this type included in the list

-

Payment

Variable

The description of the payment conducted.

  • refid – unique reference id of the payment. For more see RefId field.

  • name – the name of the payment indicating the payment type. For more see PaymentType field.

  • amount – the payment base amount.

  • tip – the payment tip amount.

  • type – type of the payment.
    a) incomplete – untipped.
    b) closed – tipped.
    c) acctLast4 – last 4 (four) digits of the PAN used to conduct the payment.

-

Payments

Variable

The list of all payments conducted for the invoice.

count – the number of items on the list

-

PaymentType

5..10

Indicates electronic data capture (EDC) type. Value set:

 Click here to expand...

1. Credit – credit card processing (US only).

2. Debit – US debit card processing (US only).

3. EBT_Food – EBT SNAP processing (US only).

4. EBT_Cash – EBT Cash processing (US only).

5. Card – credit/debit card processing (Canada only).

6. Cash – cash processing.

7. Check – check processing

8. Gift – gift card processing (in dollars).

9. Loyalty – gift card processing (in points).

10. Prepaid – prepaid loyalty processing.

11. Restaurant – restaurant application API.

-

Rules for payment types:

 Click here to expand...

1. Credit, Debit, EBT_Food and EBT_Cash values are only available if Credit/Debit/EBT application is installed on the terminal and configured for US environment.

2. Card value is only available if Credit/Debit/EBT application is installed on the terminal and configured for Canada environment.

3. Cash value is only available if Cash application is installed on the terminal.

4. Check value is only available if Check application is installed on the terminal.

5. Gift and Loyalty values are only available if Gift application is installed on the terminal. Loyalty may not be available for certain payment processors.

6. Prepaid value is only available if Loyalty application is installed on the terminal and Rewardy processor is being used.

7. Restaurant value is only available if Table application is installed on the terminal and is in online mode

RegisterId

..50

Unique alphanumeric register identifier. Can be used to identify the terminal in SPin Proxy environment

-

-

TotalAmount

..10

Total amount of the invoice.

-

-

TPN

..12

Unique terminal ID. Can be used to identify the terminal in SPin Proxy environment

-

-

TransType

4..12

Indicates the type of transaction to be run. Value set:

 Click here to expand...

1. AddPoints (Add Points)
2. Activate
3. Auth Balance
4. Capture
5. CashAdvance (Cash Advance, supported by limited number of processors)
6. Conversion
7. ConversionNG (Conversion Non-Guarantee)
8. Deactivate
9. Get
10. Inquire
11. Pay
12. Redeem
13. Reissue
14. Reload
15. Refund
16. Return
17. Sale
18. Select
19. Status
20. Ticket
21. TipAdjust (Tip Adjustment)
22. Topup
23. Verification
24. Void

-

 Click here to expand...

1. Void value is available for Credit, Gift and Loyalty PaymentType only.
2. Sale and Return values are available for Credit, Debit, EBT_Food, EBT_Cash, Card, Cash and Prepaid PaymentType only.
3. Auth, Ticket, Capture, TipAdjust and CashAdvance values are available for Credit PaymentType only.
4. Status value is available for Credit, Debit, EBT_Food, EBT_Cash, Card, Cash, Check and Gift PaymentType only. For more, see Status and Transaction Retrieval.
5. Balance value is availalbe for EBT_Food and EBT_Cash PaymentType only.
6. Verification, Conversion and ConversionNG values are available for Check PaymentType only.
7. Activate, Inquire, Deactivate, Redeem, Refund, Reissue and Reload values are available for Gift and Loyalty PaymentType only.
8. AddPoints value is available for Loyalty PaymentType only.
9. Topup value is available for Prepaid PaymentType only.
10. Select and Pay values are available for Restaurant PaymentType only.
11. Get value is available for Credit, Debit, EBT_Food, EBT_Cash and Card PaymentType only

AmountDue

10

The amount customer has left to pay to cover the invoice/ticket. Only eligible for Invoice service.

-

If ticket is covered, must be set to 0.

Use it only for the Old SDK

XML Response

<xmp>
    <response>
        <RegisterId>3284054</RegisterId>
        <Message>OK</Message>
    </response>
</xmp>

Invoice data

Invoice data is a function of Dejavoo terminals which allows to send transaction data with it status from the terminal to the serever.

{
  "Trans": [
    {
      "PaymType": "Credit",
      "TransType": "Sale",
      "InvNum": "0b4f2d94-917b-6723-b9e4-5836a55b3fd9",
      "RefId": "inv210726214706",
      "Amount": "650",
      "Tip": "0",
      "Untipped": "false",
      "BatchNum": "1"
    }
  ],
  "Status": "OK",
  "RefId": "0b4f2d94-917b-6723-b9e4-5836a55b3fd9",
  "RegId": "3284055",
  "Tpn": "Z11INVTEST02"
}

XML Response

{
  "Tpn": "Z11INVTEST02",
  "CalledUrl": "http://test.dvmms.com/denovoInventory/api/v3/TableApp/857",
  "CalledMethod": "/InvoiceData",
  "RequestType": "POST",
  "ResponseCode": 202,
  "ResponseText": "Accepted",
  "DateTime": "2021-09-22T10:05:28.1555961+00:00"
}

Status

Status is a request for getting transaction details.

<request>
  <AuthKey>zbhRAW9N6x</AuthKey>
  <RefId>inv210728153614</RefId>
  <TPN>Z11INVTEST07</TPN>
  <SignCapable>true</SignCapable>
  <TransType>Status</TransType>
  <PaymentType>Credit</PaymentType>
  <GetReceipt>Both</GetReceipt>
  <PrintReceipt>No</PrintReceipt>
</request>

XML Response

<xmp>
  <response>
    <RefId>inv210922060219</RefId>
    <TransNum>12</TransNum>
    <ResultCode>0</ResultCode>
    <RespMSG>REVSL%20INC%2dAPPROVAL%20VTLMC1</RespMSG>
    <Message>Approved</Message>
    <AuthCode>VTLMC1</AuthCode>
    <PNRef>126510500513</PNRef>
    <PaymentType>Credit</PaymentType>
    <Voided>false</Voided>
    <TransType>Sale</TransType>
    <SN>000118110026370</SN>
    <ExtData>Amount=6.50,InvNum=12,CardType=MASTERCARD,BatchNum=131,Tip=0.00,CashBack=0.00,Fee=0.26,AcntLast4=3031,BIN=553691,Name=MITSKEVICH%2fDENIS%20%20%20%20%20%20%20%20%20%20,SVC=0.00,TotalAmt=6.76,DISC=0.00,Donation=0.00,SHFee=0.00,RwdPoints=0,RwdBalance=0,RwdIssued=,EBTFSLedgerBalance=,EBTFSAvailBalance=,EBTFSBeginBalance=,EBTCashLedgerBalance=,EBTCashAvailBalance=,EBTCashBeginBalance=,RewardCode=,AcqRefData=,ProcessData=,RefNo=,RewardQR=,Language=English,EntryType=CHIP,table_num=0,clerk_id=,ticket_num=,ControlNum=,TaxCity=0.00,TaxState=0.00,TaxReducedState=0.00,Cust1=,Cust1Value=,Cust2=,Cust2Value=,Cust3=,Cust3Value=,AcntFirst4=5536,TaxAmount=0.00,BIN=5536,AVSRsp=,CVVRsp=</ExtData>
    <EMVData>AID=A0000000041010,AppName=MASTERCARD,TVR=0400008010,TSI=EC00,IAD=0102030405060708,ARC=00</EMVData>
    <Sign>Qk1uBgAAAAAAAD4AAAAoAAAAqAAAAEIAAAABAAEAAAAAADAGAADEDgAAxA4AAAAAAAAAAAAAAAAAAP///wD//////////////////////////+AAAAD//////////////////////////gAAAAD/////////////////////////8AAAAAD/////////////////////////gAAAAAD////////////////////////8AAEAAAD////////////////////////gAB8AAAD///////////////////////8AAH8AAAD///////////////////////gAAf8AAAD//////////////////////+AEA/8AAAD//////////////////////wAwD/8AAAD/////////////////////+AHAP/8AAAD/////////////////////wAcA//8AAAD////////////////////+ADwD//8AAAD////////////////////wAcAP//8AAAD///////////////////+ADgA///8AAAD///////////////////4AcAD///8AAAD///////////////////ADwA////8AAAD//////////////////8AfAH////8AAAD//////////////////gB8A/////8AAAD/////////////////8APwD/////8AAAD/////////////////wA/AP/////8AAAD////////////////+AH8A////8f8AAAD////////////////wA/gD////8f8AAAD////////////////AD+AD////4f8AAAD///////////////4AfwAD////wf8AAAD///////////////AD+AAD///+A/8AAAD//////////////8AP4AAD///wB/8AAAD//////////////wB/AAAf///AD/8AAAD/////////////+AP4AAD///8Af/8AAAD/////////////gA/AAAP///wD//8AAAD////////////8AD8AAB///+AP//8AAAD////////////AAfgAAf///wA///8AAAD///////////wAH8AAH////AD///8AAAD//////////+AA/gAD////4Af///8AAAD//////////gAP4AA/////AD////8AAAD/////////8AD+AAf////4AP////8AAAD/////////gAfAAH/////AB/////8AAAD////////4AHgAA/////4AP/////8AAAD////////AA4AAH////+AB//////8AAAD///////wAEAAA/////AAP//////8AAAD//////+AAAAAD////gAB///////8AAAD//////4AAAAAf///4AAf///////8AAAD//////gAAAgD////AAP////////8AAAD//////AAAeAf///wAH/////////8AAAD//////AAf4B///+AB//////////8AAAD//////Af/gH///gAP//////////8AAAD////////4Af//wAD///////////8AAAD////////AB//8AAf///////////8AAAD///////wAH/+AAH////////////8AAAD//////8AB//AAD/////////////8AAAD//////gAP/gAA//////////////8AAAD/////4AD/wAAf//////////////8AAAD/////AA/4AAP///////////////8AAAD////wAH4AAH////////////////8AAAD///8AB8AAD/////////////////8AAAD///gAOAAB//////////////////8AAAD//4ADgAB///////////////////8AAAD//AA4AA////////////////////8AAAD/8AGAAf////////////////////8AAAD/gAAAH/////////////////////8AAAD+AAAB//////////////////////8AAADwAAAf//////////////////////8AAADAAAf///////////////////////8AAAAAAP////////////////////////8AAAAAD/////////////////////////8AAAAB//////////////////////////8AAAA=</Sign>
    <Receipt>Merchant=%3cBR%2f%3e%3cIMG%20src%3d%22%22%2f%3e%3cBR%2f%3e%3cBR%2f%3e%3cL%3e09%2f22%2f2021%3c%2fL%3e%3cR%3e%206%3a02%3c%2fR%3e%3cBR%2f%3e%3cBR%2f%3e%3cLG%3e%3cC%3eSale%3c%2fC%3e%3c%2fLG%3e%3cBR%2f%3e%3cBR%2f%3e%3cLG%3e%3cL%3eTrans%20%23%3a%2012%3c%2fL%3e%3cR%3eBatch%20%23%3a%20131%3c%2fR%3e%3c%2fLG%3e%3cBR%2f%3e%3cBR%2f%3e%3cL%3eMASTERCARD%3c%2fL%3e%3cR%3eCHIP%3c%2fR%3e%3cBR%2f%3e%3cL%3e************3031%3c%2fL%3e%3cR%3e**%2f**%3c%2fR%3e%3cBR%2f%3e%3cL%3eReference%20Id%3a%3c%2fL%3e%3cR%3einv210922060219%3c%2fR%3e%3cBR%2f%3e%3cBR%2f%3e%3cBR%2f%3e%3cLG%3e%3cL%3eBASE%20AMT%3a%3c%2fL%3e%3cR%3e%246%2e76%3c%2fR%3e%3c%2fLG%3e%3cBR%2f%3e%3cBR%2f%3e%3cBR%2f%3e%3cBR%2f%3e%3cLG%3e%3cL%3eTIP%20AMT%3a%3c%2fL%3e%3cR%3e%24%5f%5f%5f%5f%5f%2e%5f%5f%3c%2fR%3e%3c%2fLG%3e%3cBR%2f%3e%3cBR%2f%3e%3cLG%3e%3cL%3eTOTAL%20AMT%3a%3c%2fL%3e%3cR%3e%24%5f%5f%5f%5f%5f%2e%5f%5f%3c%2fR%3e%3c%2fLG%3e%3cBR%2f%3e%3cBR%2f%3e%3cBR%2f%3e%3cB%3e%3cC%3eTip%20Suggestions%3c%2fC%3e%3c%2fB%3e%3cBR%2f%3e%3cBR%2f%3e%3cL%3ePercent%20Tip%3c%2fL%3e%3cR%3eTotal%3c%2fR%3e%3cBR%2f%3e%3cL%3e10%25%20%20%20%20%20%240%2e67%3c%2fL%3e%3cR%3e7%2e43%3c%2fR%3e%3cBR%2f%3e%3cL%3e15%25%20%20%20%20%20%241%2e01%3c%2fL%3e%3cR%3e7%2e77%3c%2fR%3e%3cBR%2f%3e%3cL%3e20%25%20%20%20%20%20%241%2e35%3c%2fL%3e%3cR%3e8%2e11%3c%2fR%3e%3cBR%2f%3e%3cBR%2f%3e%3cBR%2f%3e%3cBR%2f%3e%3cL%3eResp%3a%3c%2fL%3e%3cR%3eREVSL%20INC%2dAPPROVAL%20VTLMC1%3c%2fR%3e%3cBR%2f%3e%3cL%3eCode%3a%3c%2fL%3e%3cR%3eVTLMC1%3c%2fR%3e%3cBR%2f%3e%3cL%3eRef%20%23%3a%3c%2fL%3e%3cR%3e126510500513%3c%2fR%3e%3cBR%2f%3e%3cL%3eTransID%3a%3c%2fL%3e%3cR%3e1212MVJ999888%20%20%3c%2fR%3e%3cBR%2f%3e%3cBR%2f%3e%3cL%3eApp%20Name%3a%3c%2fL%3e%3cR%3eMASTERCARD%3c%2fR%3e%3cBR%2f%3e%3cL%3eAID%3a%3c%2fL%3e%3cR%3eA0000000041010%3c%2fR%3e%3cBR%2f%3e%3cL%3eTVR%3a%3c%2fL%3e%3cR%3e0400008010%3c%2fR%3e%3cBR%2f%3e%3cL%3eTSI%3a%3c%2fL%3e%3cR%3eEC00%3c%2fR%3e%3cBR%2f%3e%3cBR%2f%3e%3cBR%2f%3e%3cBR%2f%3e%3cC%3eCardholder%20acknowledges%3c%2fC%3e%3cBR%2f%3e%3cC%3ereceipt%20of%20goods%20and%3c%2fC%3e%3cBR%2f%3e%3cC%3eobligations%20set%20forth%3c%2fC%3e%3cBR%2f%3e%3cC%3eby%20the%20cardholder%26apos%3bs%3c%2fC%3e%3cBR%2f%3e%3cC%3eagreement%20with%20issuer%2e%3c%2fC%3e%3cBR%2f%3e%3cBR%2f%3e%3cIMG%20src%3d%22sig%2dsig%2d20210922%2d060230%2dbt131tr12%2ebmp%22%2f%3e%3cBR%2f%3e%3cL%3eX%5f%5f%5f%5f%5f%5f%5f%5f%5f%5f%5f%5f%5f%5f%5f%5f%5f%5f%5f%5f%3c%2fL%3e%3cBR%2f%3e%3cC%3eMITSKEVICH%2fDENIS%20%20%20%20%20%20%20%20%20%20%3c%2fC%3e%3cBR%2f%3e%3cBR%2f%3e%3cB%3e%3cC%3eMERCHANT%20COPY%3c%2fC%3e%3c%2fB%3e%3cBR%2f%3e%3cBR%2f%3e%3cBR%2f%3e%3cBR%2f%3e%3cBR%2f%3e%3cBR%2f%3e%3cBR%2f%3e%3cBR%2f%3eCustomer=%3cIMG%20src%3d%22%22%2f%3e%3cBR%2f%3e%3cBR%2f%3e%3cL%3e09%2f22%2f2021%3c%2fL%3e%3cR%3e%206%3a02%3c%2fR%3e%3cBR%2f%3e%3cBR%2f%3e%3cLG%3e%3cC%3eSale%3c%2fC%3e%3c%2fLG%3e%3cBR%2f%3e%3cBR%2f%3e%3cLG%3e%3cL%3eTrans%20%23%3a%2012%3c%2fL%3e%3cR%3eBatch%20%23%3a%20131%3c%2fR%3e%3c%2fLG%3e%3cBR%2f%3e%3cBR%2f%3e%3cL%3eMASTERCARD%3c%2fL%3e%3cR%3eCHIP%3c%2fR%3e%3cBR%2f%3e%3cL%3e************3031%3c%2fL%3e%3cR%3e**%2f**%3c%2fR%3e%3cBR%2f%3e%3cL%3eReference%20Id%3a%3c%2fL%3e%3cR%3einv210922060219%3c%2fR%3e%3cBR%2f%3e%3cBR%2f%3e%3cBR%2f%3e%3cLG%3e%3cL%3eBASE%20AMT%3a%3c%2fL%3e%3cR%3e%246%2e76%3c%2fR%3e%3c%2fLG%3e%3cBR%2f%3e%3cBR%2f%3e%3cBR%2f%3e%3cBR%2f%3e%3cLG%3e%3cL%3eTIP%20AMT%3a%3c%2fL%3e%3cR%3e%24%5f%5f%5f%5f%5f%2e%5f%5f%3c%2fR%3e%3c%2fLG%3e%3cBR%2f%3e%3cBR%2f%3e%3cLG%3e%3cL%3eTOTAL%20AMT%3a%3c%2fL%3e%3cR%3e%24%5f%5f%5f%5f%5f%2e%5f%5f%3c%2fR%3e%3c%2fLG%3e%3cBR%2f%3e%3cBR%2f%3e%3cBR%2f%3e%3cB%3e%3cC%3eTip%20Suggestions%3c%2fC%3e%3c%2fB%3e%3cBR%2f%3e%3cBR%2f%3e%3cL%3ePercent%20Tip%3c%2fL%3e%3cR%3eTotal%3c%2fR%3e%3cBR%2f%3e%3cL%3e10%25%20%20%20%20%20%240%2e67%3c%2fL%3e%3cR%3e7%2e43%3c%2fR%3e%3cBR%2f%3e%3cL%3e15%25%20%20%20%20%20%241%2e01%3c%2fL%3e%3cR%3e7%2e77%3c%2fR%3e%3cBR%2f%3e%3cL%3e20%25%20%20%20%20%20%241%2e35%3c%2fL%3e%3cR%3e8%2e11%3c%2fR%3e%3cBR%2f%3e%3cBR%2f%3e%3cBR%2f%3e%3cBR%2f%3e%3cL%3eResp%3a%3c%2fL%3e%3cR%3eREVSL%20INC%2dAPPROVAL%20VTLMC1%3c%2fR%3e%3cBR%2f%3e%3cL%3eCode%3a%3c%2fL%3e%3cR%3eVTLMC1%3c%2fR%3e%3cBR%2f%3e%3cL%3eRef%20%23%3a%3c%2fL%3e%3cR%3e126510500513%3c%2fR%3e%3cBR%2f%3e%3cL%3eTransID%3a%3c%2fL%3e%3cR%3e1212MVJ999888%20%20%3c%2fR%3e%3cBR%2f%3e%3cBR%2f%3e%3cL%3eApp%20Name%3a%3c%2fL%3e%3cR%3eMASTERCARD%3c%2fR%3e%3cBR%2f%3e%3cL%3eAID%3a%3c%2fL%3e%3cR%3eA0000000041010%3c%2fR%3e%3cBR%2f%3e%3cL%3eTVR%3a%3c%2fL%3e%3cR%3e0400008010%3c%2fR%3e%3cBR%2f%3e%3cL%3eTSI%3a%3c%2fL%3e%3cR%3eEC00%3c%2fR%3e%3cBR%2f%3e%3cBR%2f%3e%3cBR%2f%3e%3cBR%2f%3e%3cBR%2f%3e%3cB%3e%3cC%3eCUSTOMER%20COPY%3c%2fC%3e%3c%2fB%3e%3cBR%2f%3e%3cBR%2f%3e%3cBR%2f%3e%3cBR%2f%3e%3cBR%2f%3e%3cBR%2f%3e%3cBR%2f%3e%3cBR%2f%3e</Receipt>
    <CVMResult>2</CVMResult>
  </response>
</xmp>

Request matrix for Select and Pay requests

The matrix shows whether the field is required or not.

SPIN fields

Transaction types

Select

Pay

Alert

-

O

AmountPaid

-

O

AuthKey

M

M

Goods

-

O

Invoice

M

-

InvoiceData

-

M

InvoiceList

M

-

Item

-

O

Payment

-

O

Payments

-

O

PaymentType

M

M

RegisterId

M*

M*

TotalAmount

-

M

TPN

M*

M*

TransType

M

M

Where:

*- either RegisterId or TPN must present if SPin client is using SPin proxy
M - mandatory;
- not required;
O - optional.