Skip to Content
HomeLink Hub
Users & Profile

Set the inspection fee

PUT
/api/v1/user/inspection-fee

Access: Bearer token required.

Sets the fee, in naira, that is charged when someone books an inspection with this user as the agent. It must be a whole number of zero or more; new accounts start at 5000 (NGN 5,000). The inspection and transaction flows read this value when pricing a booking and fall back to the platform default when it is not set. The route does not restrict by role: any signed-in user can set it, though it only matters for agents.

Authorization

bearerAuth
headerAuthorizationBearer <JWT>

Access token returned by sign-in. Send it as Authorization: Bearer <token>.

Request Body

application/json
  1. body
inspectionFee*integer

Fee in naira as a non-negative integer, for example 7500.

Range0 <= value

Response Body

Fee saved

application/json
  1. response
status*integer
success*boolean
message*string
data*
Example Request
curl -X PUT 'http://localhost:4000/api/v1/user/inspection-fee' \  -H 'Content-Type: application/json' \  -d '{  "inspectionFee": 7500}'
Example Response
{  "status": 200,  "success": true,  "message": "Inspection fee updated.",  "data": {    "inspectionFee": 7500  }}