The example data below will process a credit card CaptureAll transaction through the payment server to settle all transactions in the current batch.

Parameter Value
UserName test
Password 123
TransType CaptureAll


Response
<?xml version=”1.0″ encoding=”utf-8″ ?>

<Response xmlns:xsd=”http://www.w3.org/2001/XMLSchema” xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xmlns=”https://secure.ftipgw.com/ArgoFire/”>

<Result>0</Result><RespMSG>Approved</RespMSG><Message>ACCEPTED</M essage><AuthCode>GB00030 ACCEPTED</AuthCode><ExtData>Net_Count=1,Net_Amount=1,Settle_DT=20 04-04-13 15:42:45</ExtData>

</Response>

Batch Close Response Detail
There is a programmatic way to add batch detail in the responses for the settlement commands. To avail of this feature, there would be an adjustment to the SQL database and would need to add the following key values in the AppSetting_T

8, ExpandExtDataWhen, ALWAYS NEVER EXTERNAL or INTERNAL, Null

Always = Always send the information to all interfaces.
Never = Never send the information to any interface.
External = Send the information to PAY and Web Services only.
Internal (Default) = Send the information to the Virtual Terminal

The integrator or Database Administrator may avail of different methods to add these values but this is a simple SQL script example on how to do this is:

Use PayServerSQLV2k5

Insert into AppSetting_T (Application_Key, AppSetting_Key, AppSetting_Value, XmlProfile_TXT) VALUES (‘8’, ‘ExpandExtDataWhen’, ‘ALWAYS’, NULL)


Examples of Response with Single/Multiple Batch Detail Enabled
The following examples highlight the additions that are available for multi-batch settlements.

Single Batch Success Response (Web service)
<Response><Result>0</Result><RespMSG>Approved</RespMSG><Message>ACCEP TED</Message><Message1></Message1><Message2></Message2><AuthCode>GB002 58 ACCEPTED</AuthCode><PNRef></PNRef><HostCode>GB00258 ACCEPTED</HostCode><HostURL></HostURL><ReceiptURL></ReceiptURL><Get AVSResult></GetAVSResult><GetAVSResultTXT></GetAVSResultTXT><GetStreet MatchTXT></GetStreetMatchTXT><GetZipMatchTXT></GetZipMatchTXT><GetCVR esult></GetCVResult><GetCVResultTXT></GetCVResultTXT><GetGetOrigResult></ GetGetOrigResult><GetCommercialCard>False</GetCommercialCard><WorkingKey>< /WorkingKey><KeyPointer></KeyPointer><ExtData>CardType=ALL,Net_Count=3,Net _Amount=-3.00,Settle_DT=2006-06-27 12:41:52,BatchNum=258,Batch=<Summary>Net_Count=3,Net_Amount=- 3.00,Settle_DT=2006-06-27 12:41:52,Result=0</Summary><Detail>Net_Count=3,Net_Amount=- 3.00,Settle_DT=2006-06-27 12:41:52,Result=0,Number=258,AuthCode=GB00258 ACCEPTED,Message=ACCEPTED</Detail></ExtData></Response>

Single Batch Failure Response (Web service)
<Response><Result>12</Result><RespMSG>Decline</RespMSG><Message>RB E 0004 D 24</Message><Message1></Message1><Message2></Message2><AuthCode></AuthC ode><PNRef></PNRef><HostCode></HostCode><HostURL></HostURL><ReceiptUR L></ReceiptURL><GetAVSResult></GetAVSResult><GetAVSResultTXT></GetAVS ResultTXT><GetStreetMatchTXT></GetStreetMatchTXT><GetZipMatchTXT></GetZi pMatchTXT><GetCVResult></GetCVResult><GetCVResultTXT></GetCVResultTXT ><GetGetOrigResult></GetGetOrigResult><GetCommercialCard>False</GetCommerci alCard><WorkingKey></WorkingKey><KeyPointer></KeyPointer><ExtData>CardTyp e=ALL,Batch=<Summary>Net_Count=0,Net_Amount=.00,Settle_DT=2006-06-27 12:46:07,Result=12</Summary><Detail>Net_Count=3,Net_Amount=- 3.00,Settle_DT=2006-06-27 12:46:07,Result=12,Number=262,Message=RB E 0004 D 24</Detail></ExtData></Response>

Multi Batch Success Response (Web service) 
<Response><Result>0</Result><RespMSG>Approved</RespMSG><Message>ACCEP TED</Message><Message1></Message1><Message2></Message2><AuthCode>GB002 61 ACCEPTED</AuthCode><PNRef></PNRef><HostCode>GB00261 ACCEPTED</HostCode><HostURL></HostURL><ReceiptURL></ReceiptURL><Get AVSResult></GetAVSResult><GetAVSResultTXT></GetAVSResultTXT><GetStreet MatchTXT></GetStreetMatchTXT><GetZipMatchTXT></GetZipMatchTXT><GetCVR esult></GetCVResult><GetCVResultTXT></GetCVResultTXT><GetGetOrigResult></ GetGetOrigResult><GetCommercialCard>False</GetCommercialCard><WorkingKey>< /WorkingKey><KeyPointer></KeyPointer><ExtData>CardType=ALL,Net_Count=9,Net _Amount=-9.00,Settle_DT=2006-06-27 12:43:49,BatchNum=261,Batch=<Summary>Net_Count=9,Net_Amount=- 9.00,Settle_DT=2006-06-27 12:43:49,Result=0</Summary><Detail>Net_Count=4,Net_Amount=- 4.00,Settle_DT=2006-06-27 12:43:49,Result=0,Number=259,AuthCode=GB00259 ACCEPTED,Message=ACCEPTED</Detail><Detail>Net_Count=4,Net_Amount=- 4.00,Settle_DT=2006-06-27 12:43:52,Result=0,Number=260,AuthCode=GB00260 ACCEPTED,Message=ACCEPTED</Detail><Detail>Net_Count=1,Net_Amount=- 1.00,Settle_DT=2006-06-27 12:43:54,Result=0,Number=261,AuthCode=GB00261 ACCEPTED,Message=ACCEPTED</Detail></ExtData></Response>

Multi-Batch Partial Success Response (Web service)
<Response><Result>15</Result><RespMSG>Partial</RespMSG><Message>ACCEPT ED</Message><Message1></Message1><Message2></Message2><AuthCode>GB0026 2 ACCEPTED</AuthCode><PNRef></PNRef><HostCode>GB00262 ACCEPTED</HostCode><HostURL></HostURL><ReceiptURL></ReceiptURL><Get AVSResult></GetAVSResult><GetAVSResultTXT></GetAVSResultTXT><GetStreet MatchTXT></GetStreetMatchTXT><GetZipMatchTXT></GetZipMatchTXT><GetCVR esult></GetCVResult><GetCVResultTXT></GetCVResultTXT><GetGetOrigResult></ GetGetOrigResult><GetCommercialCard>False</GetCommercialCard><WorkingKey>< /WorkingKey><KeyPointer></KeyPointer><ExtData>CardType=ALL,Net_Count=1,Net _Amount=-1.00,Settle_DT=2006-06-27 12:48:15,BatchNum=262,Batch=<Summary>Net_Count=1,Net_Amount=- 1.00,Settle_DT=2006-06-27 12:48:15,Result=15</Summary><Detail>Net_Count=4,Net_Amount=- 4.00,Settle_DT=2006-06-27 12:48:15,Result=12,Number=262,Message=RB E 0004 D 24</Detail><Detail>Net_Count=4,Net_Amount=-4.00,Settle_DT=2006-06-27 12:48:17,Result=12,Number=262,Message=RB E 0006 D 24</Detail><Detail>Net_Count=1,Net_Amount=-1.00,Settle_DT=2006-06-27 12:48:19,Result=0,Number=262,AuthCode=GB00262 ACCEPTED,Message=ACCEPTED</Detail></ExtData></Response>