Skip to main content
GET
/
merchant
/
api
/
v1
/
counters
/
{counterID}
Get counter
curl --request GET \
  --url http://api-sandbox.fexpayments.com/merchant/api/v1/counters/{counterID} \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "counter": {
    "id": "c1d2e3f4-a5b6-7890-abcd-ef1234567890",
    "merchant_id": "74815c83-e47b-4dc5-aefe-abe4484dd280",
    "name": "Counter 1",
    "status": "active",
    "location": "Floor 2, Register 3",
    "keycloak_client_id": "counter-c1d2e3f4-a5b6-7890-abcd-ef1234567890",
    "webhook_url": "https://pos.example.com/webhooks/payments",
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z"
  }
}

Authorizations

Authorization
string
header
required

Keycloak JWT. Roles: admin (platform admin — can register merchants, act on behalf of any merchant), merchant (dashboard user — scoped to their own merchant_id via user attribute mapper), POS terminals use client credentials flow with merchant_id injected via protocol mapper.

Path Parameters

counterID
string<uuid>
required

Counter ID

Response

Counter details

success
boolean
Example:

true

counter
object

A POS terminal belonging to a merchant