curl --request POST \
  --url https://api.nomba.com/v1/terminals/unassign \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'accountId: <accountid>' \
  --data '{
  "serialNumber": "55555555",
  "terminalLabel": "Testing"
}'
{
  "code": "00",
  "description": "Success",
  "data": {
    "terminalId": "201124LM",
    "serialNumber": "55555555",
    "accountId": "01a10aeb-d989-460a-bbde-9842f2b4320f",
    "parentAccountId": "<string>",
    "merchantName": "trident and rees",
    "terminalLabel": "Testing",
    "createdAt": "2020-09-23T10:21:48.789Z",
    "updatedAt": "2023-09-04T15:23:55.173Z"
  }
}

POST /v1/terminals/unassign

Request body

serialNumber
string
required

Terminal serial number.

terminalLabel
string

Terminal label.

Response body

code
string
required

Response code

description
string
required

Response description

data
object
terminalId
string
required

Terminal ID.

serialNumber
string
required

Serial number.

accountId
string
required

Account ID.

parentAccountId
string
required

Parent account ID.

merchantName
string
required

Merchant name.

terminalLabel
string
required

Terminal label.

createdAt
string
required

Creation timestamp.

updatedAt
string
required

Update timestamp.