Skip to main content
POST
Error

Authorizations

Authorization
string
header
required

Authorization: Bearer <token>. Accepts EITHER a Keycloak access token (scopes-in-token) OR an opaque POS session token; both resolve to the same pos.* scope vocabulary the route guards enforce.

Body

application/json
id
string
required

Client-supplied unique batch id (409 if it already exists).

Minimum string length: 1
shopId
string
required

The shop this deposit batch belongs to.

Minimum string length: 1
lines
object[]
required

At least one declared tender line (all start pending settlement).

Minimum array length: 1

Response

The opened batch, all lines pending settlement.

The opened batch, all lines pending settlement.

id
string
required
shopId
string
required
status
enum<string>
required
Available options:
open,
reconciled
lines
object[]
required