Skip to main content
POST
Error

Authorizations

Authorization
string
header
required

Merchant secret key, or an authorized Platform secret key with delegation where documented.

Headers

Ionic-Account
string

Merchant ID when an authorized Platform acts for a connected Merchant.

Pattern: ^mer_[0-9A-Za-z]{14}$

Body

application/json
terminal_id
string
required

ID of the terminal whose current batches to refresh (tmr_…).

Pattern: ^tmr_[0-9A-Za-z]{14}$

Response

The refreshed open batches for the Terminal.

object
enum<string>
required
Available options:
terminal_batch.refresh
terminal_id
string
required

ID of the terminal that was refreshed (tmr_…).

Pattern: ^tmr_[0-9A-Za-z]{14}$
data
object[]
required

The batches returned by the refresh.