v1

latestOpenAPI 3.0.12026-07-2679100267.2 KB
Terminals

Assign a terminal to a sub account

You can use this endpoint to assign a terminal to an sub account.

post/v1/terminals/assign/{subAccountId}

Path parameters

subAccountIdstring required

The sub accountId whose terminals are to be fetched.

Headers

accountIdstring uuid required
Example:890022ce-bae0-45c1-9b9d-ee7872e6ca27

The parent accountId of the business.

Request body

serialNumberstring required

Serial number

terminalLabelstring

Terminal label

Example request

{
  "serialNumber": "55555555",
  "terminalLabel": "Testing"
}

Response

OK - your request was successful.

codestring required

Response Code

descriptionstring required

Response description

Example response

{
  "code": "00",
  "description": "Success",
  "data": {
    "terminalId": "201124LM",
    "serialNumber": "55555555",
    "accountId": "01a10aeb-d989-460a-bbde-9842f2b4320f",
    "merchantName": "trident and rees",
    "terminalLabel": "Testing",
    "createdAt": "2020-09-23T10:21:48.789Z",
    "updatedAt": "2023-09-04T15:23:55.173Z"
  }
}