Batch out and query Open batch

Get open batch

get

Retrieve the list of open batches available for the terminal.

Header parameters
api-keyanyRequired

An access API key issued to you by Xplor Pay.

Responses
chevron-right
200

ok

payload

payloadTypestringOptional

Type of payload returned in the response.

Example: batch
get
/rest/v2/batches/open

Close open batch

put

Close the open batch for the terminal. Open batches can be closed manually through this API or automatically through the payment gateway or by configuring Merchant Account Settings.

Header parameters
api-keyanyRequired

An access API key issued to you by Xplor Pay.

Body

Request payload for closing the batch

lastBatchClosedRequiredInResponsebooleanRead-onlyOptional

Indicates whether the response must include details about the last batch that was closed.

Example: true
software-typestringOptional

Identifies the type of software that initiated the batch close request.

Example: string
Responses
chevron-right
200

ok

payload

payloadTypestringOptional

Type of payload returned in the response.

Example: batch
put
/rest/v2/batches/open

Last updated

Was this helpful?