Skip to main content
Branches represent physical store locations for a merchant. Each branch can have its own POS terminals and payment settings.

Create Branch

Requires a valid Bearer token in the Authorization header.

Request Body

string
required
Branch display name (e.g., Colombo Main Store).
string
required
Physical address of the branch.
string
required
City where the branch is located.
string
Branch contact phone number.

Example Request

Example Response (201)


List Branches

Returns all branches for the authenticated merchant.

Query Parameters

integer
default:"1"
Page number.
integer
default:"20"
Items per page (max 100).

Example Response (200)


Get Branch

Path Parameters

string
required
The branch identifier (e.g., branch_abc123).

Example Response (200)


Delete Branch

Permanently deletes a branch. Active POS terminals associated with the branch will be deactivated.

Path Parameters

string
required
The branch identifier (e.g., branch_abc123).

Example Response (200)

Error Responses

404 Not Found