OMS backend
Issues merchant access tokens to the Fonepoints backend, and serves the order API those tokens authorise.
storemongodb · db "oms_prod"
companyFonepoints (fonepoints)
api keyconfigured
orders253
dev routesenabled
Registered merchants
- Gadget Ghar · merchant-b · merchantRef
fp-gadget-ghar - Hamro Mobile · merchant-a · merchantRef
fp-hamro-mobile
Endpoints
POST /api/v1/auth/token— x-api-key · mints a merchant access tokenGET /api/v1/auth/me— bearer · the token's merchantPOST /api/v1/auth/revoke— bearer · ends the tokenGET /api/v1/orders— bearer · scoped to the token's merchantPOST /api/v1/orders— x-api-key · order ingestion, idempotentGET|PATCH /api/v1/orders/:id[/status|/rider]— bearerPOST /api/v1/validate— no auth · the rider's Order ID + voucher pair