Batches

Batches Controller

Get all batches

get

Valid formats for the ‘start-date’ and ‘end-date’ fields include the following: 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

Query parameters
paramanyRequired

param

levelanyOptional

Level of search. Default is terminal level. Set to 'merchant' to query all batches for this merchant.

start-dateanyOptional

filters the batches list by the created date/time. Setting start date will return batches that were processed after this date/time. Setting both start and end date creates a range

end-dateanyOptional

use with start date to create range

pageanyOptional

The page number. Use the page and page-size for pagination

page-sizeanyOptional

Number of results per page

descendinganyOptional

list results in descending order, default is true

statusanyOptional

Batch status (OPEN,CLOSED,PENDING,FAILED). A PENDING status means the batch is being processed. The FAILED means a batch was attempted and failed. A batch that has FAILED can be resubmitted.

Header parameters
api-keyanyRequired

api-key-value

Body
refund-countstringOptional

Number of refunds in the batch

refund-totalstringOptional

total dollar amount of refunds in the batch

sales-countstringOptional

Number of sales/auths in batch

sales-totalstringOptional

Total dollar amount of sales in the batch

net-amountstringOptional

Total dollar amount in the batch

total-countstringOptional

Total number of transactions in the batch

confirmation-codestringOptional

on a settled batch the confirmation code

settledstringOptional

date and time of settled batch

Responses
200

Success

get
/rest/v2/batches

Last updated

Was this helpful?