Request
Provide your bearer token in the Authorization
header when making requests to protected resources. Example:Authorization: Bearer ********************
Request Code Samples
curl --location --request GET '/operational-states' \
--header 'Authorization: Bearer <token>'
Responses
application/json {
"data": {
"id": 2,
"per_kg": 50,
"value_fee": 300,
"value_fee_enabled": 1,
"service_charge": 100,
"service_charge_enabled": 1,
"tax_rate": 7.5,
"tax_rate_enabled": 1,
"hub": {
"id": 1,
"name": "Lagos 1",
"address": "Ikeja, Lagos, Nigeria",
"state": "Lagos",
"city": "ObiomaVille",
"contact_no": "0813 735 7156",
"status": "active",
"latitude": "6.601838",
"longitude": "3.3514863"
}
},
"message": "Okay"
}
Modified at 2024-11-22 12:32:59