Skip to navigation

List Services

View as Markdown

Lists the top-level VTU services (Airtime, Data, Utility, Cable TV) and their serviceIds.

Returns active services only. Use serviceId with List Service Categories.

Error format: body validation failures (Joi) return { "status": "error", "message": "Validation error", "details": [ ... ] }; all other errors return { "success": false, "message": "..." }. Money fields (amount, fee) are Prisma Decimals and are serialized as strings (e.g. "1000").

Authentication

AuthorizationBearer

Access token from Generate Access Token (valid 15 minutes).

Response

OK
successbooleanOptional
datalist of objectsOptional

Errors

401
Unauthorized Error
403
Forbidden Error
500
Internal Server Error