Batch out and query Open batch

Batches Controller

Get open batch

get

Gets your current open batch on the gateway.

Header parameters
api-keyanyRequired

apiKeyValue

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 transactions

statusstringOptional

Batch status (OPEN,PENDING). A PENDING status is returned when the Batch is still considered OPEN but currently being processed.

Responses
200

Success

get
/rest/v2/batches/open

Close open batch

put

Open batches can be closed via the API, or they can be auto-closed according to gateway and/or merchant account settings.

Header parameters
api-keyanyRequired

apiKeyValue

Body
lastBatchClosedRequiredInResponsebooleanOptional
software-typestringOptional
Responses
200

Success

put
/rest/v2/batches/open

Last updated

Was this helpful?