KashierDevelopersKashier Developers

List terminal branches

curl -X GET "https://test-api.kashier.io/v2/terminals/branches"
{  "branches": [    {      "_id": "string",      "branchName": "string",      "address": "string",      "terminalCount": 0    }  ],  "pagination": {    "total": 0,    "limit": 0,    "page": 0,    "pages": 0  }}

Retrieves the branches your terminals are assigned to, with the number of terminals in each. Paginated and searchable.

Authorization

secretKey
Authorization<token>

Merchant secret key used to identify the merchant, obtained from Kashier's dashboard. Pass the raw secret key value in the Authorization header (NOT a "Bearer" token).

In: header

Query Parameters

q?string

Search keyword matched against the branch name.

merchantPayformanceId?string

Filter by merchant ID, e.g. YOUR_MID.

limit?integer

Number of records per page. Default: 20.

page?integer

Page number. Default: 1.

Response Body

application/json

application/json

application/json

application/json

application/json

GET
/v2/terminals/branches