Get Open Batch API Response Object

The description of the Get Open Batch API response object

The Get Open Batch API returns a response in standard JSON format. The following table lists the properties of a Get Open Batch API response:

Top-Level Properties

PropertyDescription
successWhether or not the API call succeeded.
contentThe content subobject.
errorsThe errors subobject array if any.

content Subobject

PropertyDescription
batchNbrThe merchant-specific batch number.
merchantNbrThe merchant number.
openDateThe date and time the batch was originally opened.
closeDateThe close date of the batch, which is always null as the batch is still open.
totalAmountThe total sum of all transactions currently in the batch.
txnsInBatchThe number of transactions in the batch.
statusThe status of the batch, which is always Open as the batch is still open.
transactionsThe transactions subobject array.

transactions Subobject (Array)

PropertyDescription
txnNbrThe system-generated transaction number.
externalInvoiceNbrThe merchant’s invoice number.
amountThe transaction amount.
txnTypeThe type of transaction, which is always Sale .
txnStatusThe status of the transaction, which is always Approved.
datePostedThe transaction creation date.
cardNbrThe last four digits of the card that was processed with the transaction.
disputeIdReserved for internal use.
rebillInvoiceNbrReserved for internal use.
tailNbrThe tail number of the aircraft associated with the transaction.
branchOfServiceThe branch of service associated with the card that was processed with the transaction.
detailsReserved for internal use.
isPPSPOSWhether the origin of the transaction was the PPS POS.

errors Subobject (Array)

PropertyDescription
codeThe error code.
messageThe error message.

You can find examples of this response object here.