v1

latestOpenAPI 3.0.12026-07-2356172250.9 KB
Batches

Get all transaction batches

Retrieves the list of batches within a specified date range.

get/rest/v2/batches

Query parameters

paramobject required
statusstring

The status used to filter batches. Valid values are Open, Closed, Pending, and Failed.

offsetinteger
pageSizeinteger
pageNumberinteger
unpagedboolean
pagedboolean
refund-countstring

Total number of refund transactions in the batch.

refund-totalstring

Total number of refund transactions in the batch.

sales-countstring

Total number of sale transactions in the batch.

sales-totalstring

Total amount of sale transactions in the batch.

net-amountstring

Total amount of transactions in the batch.

total-countstring

Total number of transactions in the batch.

confirmation-codestring

Confirmation code for the settled batch.

settledstring

Date and time when the batch was settled.

levelstring

The scope of the batch search. Default is Terminal, which returns batches for the current terminal; set to Merchant to retrieve batches across all terminals for the merchant.

start-datestring

Required start date for the batch search. Accepted formats: MM-dd-yyyy hh:mm a, MM-dd-yy HH:mm, MM-dd-yy HH:mm z, yyyy-MM-dd HH:mm, yyyy-MM-dd HH:mm z.

end-datestring

Required end date for the batch search. Accepted formats are the same as start-date: MM-dd-yyyy hh:mm a, MM-dd-yy HH:mm, MM-dd-yy HH:mm z, yyyy-MM-dd HH:mm, yyyy-MM-dd HH:mm z.

pageinteger

Page number for paginated results. Defaults to the first page if not specified.

page-sizeinteger

Number of records to return per page.

descendingboolean

If true, results are sorted by date in descending order.

Headers

api-keystring required

An access API key issued to you by Xplor Pay.

Response

Success

payloadTypestring

Type of payload returned in the response.