Update a terminal model
PUT
/api/terminals/models/{id}
deprecated
Requires: Terminals.Models.View, Terminals.Models.Update, merchant scope.
Update an existing terminal model by id
Signed in, you can send this request to your own sandbox merchant from the console and read the answer. Sign in to try it.
Example request
Every block below sends the same request. Replace {{BASE_URL}} with the address of the API you are calling and {{API_KEY}} with your own key.
The request body is a TerminalModelUpdateDto. See the Request body section below for its fields.
Parameters
Request body
application/json
, required
| Field | Type | Description | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
displayName
required |
string | The model's name. Required.
nullablemax length 128
Values:
Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
| |||||||||||||||
contactless
required |
boolean | Whether the model reads contactless cards and wallets.
Values:
Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
| |||||||||||||||
pinEntry
required |
boolean | Whether the model has a PIN entry device.
Values:
Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
| |||||||||||||||
printer
required |
boolean | Whether the model has a receipt printer.
Values:
Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
| |||||||||||||||
serialNumberFormatPattern
required |
string | The regular expression this model's serial numbers must match in full, ignoring case, checked in
addition to the vendor's own format. Keep to anchors, character classes and counted quantifiers.
Send the pattern, the example and the description together, or none of them for no rule.
nullablemax length 256
Values:
Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
| |||||||||||||||
serialNumberFormatExample
required |
string | A serial number that matches the pattern. Required with a pattern.
nullablemax length 64
Values:
Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
| |||||||||||||||
serialNumberFormatDescription
required |
string | One sentence that says what the serial number looks like. Required with a pattern.
nullablemax length 256
Values:
Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
| |||||||||||||||
externalPinPads
required |
array of TerminalExternalPinPadDto array of TerminalExternalPinPadDto | The external PIN pad models this model is approved to work with. A terminal of the model may name
one of them as its PIN entry device. On create, leave it out or send an empty list for none. On an
update, leaving it out keeps the stored list, and an empty list removes every pad.
nullable
Values:
Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
| |||||||||||||||
Fields of each TerminalExternalPinPadDto:
This body has no documented fields. | |||||||||||||||||
isRetired
required |
boolean | Whether the model is retired. A retired model is no longer offered, and no new terminal may
name it; terminals that already do keep it.
Values:
Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
| |||||||||||||||
concurrencyStamp
required |
string | The concurrency stamp from the model you read. Required.
nullable
Values:
Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
| |||||||||||||||
This request body has no documented fields.
Responses
Errors
A failed request returns the platform error envelope. The
error reference lists every value
error.code can carry and shows the four response shapes.
Authentication
ApiKeywith scopes