Get Batch History API Response Object

The description of the Get Batch History API response object

The Get Batch History API returns a response in standard JSON format. The following table lists the properties of a Get Batch History 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 opened.
closeDateThe date and time the batch was closed.
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 Closed.
transactionsThe transactions subobject array.

transactions Subobject (Array)

PropertyDescription
txnNbrThe system-generated transaction number.
authorizationNbrThe unique authorization number of the transaction.
externalInvoiceNbrThe merchant’s invoice number.
amountThe total transaction amount.
txnTypeThe type of transaction, which is always Sale .
txnStatusThe transaction status, which can be Approved, Disputed or Resolved.
datePostedThe invoice creation date.
cardNbrThe last four digits of the card that was processed with the transaction.
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.