API ReferenceOwner: Subscription plans
List active per-truck owner subscription plans.
Authorization
bearerAuth AuthorizationBearer <token>
AdonisJS access-token guard (middleware.auth({ guards: ["api"] })). Send Authorization: Bearer <oat_…> (issued by /auth/register, /auth/login, /auth/social/{google,apple}, or /auth/guest).
In: header
Response Body
application/json
application/json
curl -X GET "https://example.com/api/v1/owner/subscription-plans"{ "data": { "items": [ { "id": "subp_owner_truck_pro_monthly", "code": "truck_pro_monthly", "name": "Truck Pro Monthly", "monthlyAmountMinor": 9900, "currencyCode": "SAR", "features": { "analytics": true, "prioritySupport": true } } ] }, "meta": { "requestId": "req_01jq8z1mxc0e0v6r3xj0a8h9k7" }}{ "error": { "code": "AUTH_REQUIRED", "message": "Authentication is required to access this resource." }, "meta": { "requestId": "req_01jq8z1mxc0e0v6r3xj0a8h9k7" }}