Skip to main content
POST
/
v1
/
terminals
/
unassign
/
{subAccountId}
Un-assign terminal from a sub account
curl --request POST \
  --url https://api.nomba.com/v1/terminals/unassign/{subAccountId} \
  --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": "",
    "merchantName": "trident and rees",
    "terminalLabel": "Testing",
    "createdAt": "2020-09-23T10:21:48.789Z",
    "updatedAt": "2023-09-04T15:23:55.173Z"
  }
}

Documentation Index

Fetch the complete documentation index at: https://developer.nomba.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Nomba authenticates API calls with OAuth2 HTTP bearer tokens. There are two methods of authentication; Client-Credentials method and PKCE (Proof Key for Code Exchange) method. In each of the methods, You will get an ACCESS_TOKEN. You need to use an "Authorization" HTTP header to provide your ACCESS_TOKEN. For example: Authorization: {ACCESS_TOKEN}.

Headers

accountId
string<uuid>
required

The parent accountId of the business.

Example:

"890022ce-bae0-45c1-9b9d-ee7872e6ca27"

Path Parameters

subAccountId
string
required

The sub accountId of the business.

Body

application/json

The request payload required to un-assign a terminal from a sub account

serialNumber
string
required

Serial number

Example:

"55555555"

terminalLabel
string

Terminal label

Example:

"Testing"

Response

OK - your request was successful.

code
string
required

Response Code

Example:

"00"

description
string
required

Response description

Example:

"Success"

data
object
required