Skip to main content

Endpoints


Create Branch

Creates a new branch under the authenticated merchant. All API-created branches automatically use the merchant’s bank account for settlements.

Authentication

Requires HMAC authentication with headers:
  • x-api-key: Your API key ID only (e.g., ak_live_xxx)
  • x-timestamp: Current Unix timestamp in milliseconds
  • x-signature: HMAC-SHA256 signature (using derived signing key)

Request Body

Example Request

Example Response (201 Created)

Error Responses


List Branches

Retrieves a paginated list of branches for the authenticated merchant. Supports filtering by active status and searching by name or code.

Authentication

Requires HMAC authentication with headers:
  • x-api-key: Your API key ID only (e.g., ak_live_xxx)
  • x-timestamp: Current Unix timestamp in milliseconds
  • x-signature: HMAC-SHA256 signature (using derived signing key)

Query Parameters

Example Request

Example Response (200 OK)

Error Responses


Get Branch

Retrieves a single branch by ID. Only returns branches belonging to the authenticated merchant.

Authentication

Requires HMAC authentication with headers:
  • x-api-key: Your API key ID only (e.g., ak_live_xxx)
  • x-timestamp: Current Unix timestamp in milliseconds
  • x-signature: HMAC-SHA256 signature (using derived signing key)

Path Parameters

Example Request

Example Response (200 OK)

Error Responses


Update Branch

Updates an existing branch. All fields are optional — only include fields you want to change.

Authentication

Requires HMAC authentication with headers:
  • x-api-key: Your API key ID only (e.g., ak_live_xxx)
  • x-timestamp: Current Unix timestamp in milliseconds
  • x-signature: HMAC-SHA256 signature (using derived signing key)

Path Parameters

Request Body

All fields are optional.

Example Request

Example Response (200 OK)

Error Responses


Deactivate Branch

Deactivates a branch. This is a soft delete — the branch record and its associated payment history are preserved.

Authentication

Requires HMAC authentication with headers:
  • x-api-key: Your API key ID only (e.g., ak_live_xxx)
  • x-timestamp: Current Unix timestamp in milliseconds
  • x-signature: HMAC-SHA256 signature (using derived signing key)

Path Parameters

Example Request

Response (204 No Content)

No response body.

Error Responses


Branch Object


Error Responses

See Error Codes for detailed error handling.