Skip to main content
POST
Create Terminal commands

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Body

application/json
terminal_id
string
required
Example:

"abcd-3254fsd-3242"

type
enum<string>
required
Available options:
PRINT_RECEIPT,
SETTLE,
QUERY
properties
object

Response

Create command successfully

id
string
required
Example:

"abcd-3254fsd-3242"

status
enum<string>
required
Available options:
ACTIVE,
COMPLETED
Example:

"ACTIVE"

terminal_id
string
required
Example:

"abcd-3254fsd-3242"

business_id
string
required
Example:

"abcd-3254fsd-3242"

type
enum<string>
required
Available options:
PRINT_RECEIPT,
SETTLE,
QUERY
Example:

"PRINT_RECEIPT"

created
string<date-time>
Example:

"2024-11-06T15:32:42Z"

updated
string<date-time>
Example:

"2024-11-06T15:32:42Z"