Add a new payment terminal
x-ms-visibility: "important"
Send a request to add a new payment terminal specified in the request body. Payment terminal is connected to one or several chargers depending on the type.
application/json
Request Body required
Payment terminal object that needs to be added
name string
terminalType int32 nullable
Possible values: [0
, 1
, 2
]
Default value: 0
connectionType int32 nullable
Possible values: [0
, 1
, 2
, 3
, 4
]
Default value: 0
manufacturer string
chargerIDs string[]
Responses
- 200
- 400
- 401
Returns the new payment terminal
application/json
Schema
Example (from schema)
Schema
id int64
name string
terminalType int32 nullable
Possible values: [0
, 1
, 2
]
Default value: 0
connectionType int32 nullable
Possible values: [0
, 1
, 2
, 3
, 4
]
Default value: 0
manufacturer string
chargerIDs string[]
{
"id": 0,
"name": "string",
"terminalType": 0,
"connectionType": 0,
"manufacturer": "string",
"chargerIDs": [
"string"
]
}
Errors in the body request
text/plain
Schema
Schema
string
Customer not found or not authorised
Loading...