Direct Payment Integrator V6 - Online Help
Direct Payment Integrator V6
Questions / Feedback?

BatchRelease Method

Releases the current batch for settlement.

Syntax

ptechhostsettle.batchRelease(netDeposit, [callback])

Callback

The 'callback' parameter specifies a function which will be called when the operation completes (or an error is encountered). If the 'callback' parameter is not specified, then the method will block and will not return until the operation completes (or an error is encountered).

The callback for this method is defined as:

function(err){ }

'err' is the error that occurred. If there was no error, then 'err' is 'null'.

'err' has 2 properties which hold detailed information:

err.code
err.message

Remarks

A batch release will provide the host batch totals to the POS and will release the batch for settlement. If there is a discrepancy between what the POS and the host have for totals, those discrepancies will need to be corrected by the merchant in a subsequent batch. To obtain the NetDeposit required for this method, first call BatchInquiry and compare the ResponseBatchNetAmount to your stored value to make sure there are no discrepancies before releasing the batch.

Batch Inquiry and Release response data will be returned in the ResponseBatchNumber, ResponseBatchNetAmount, ResponseBatchTransCount, ResponseBatchOpen, and ResponseBatchClose properties. Additional information concerning the type of transactions in the settlement will be broken down into the PaymentTypeName, PaymentTypeNetAmount and PaymentTypeTransCount properties.


class.BatchInquiry()
class.BatchRelease(class.ResponseBatchNetAmount)

 
 
Copyright (c) 2017 /n software inc. - All rights reserved.
Build 6.0.6240.0