Reference
//
Get policies by employee...
🔒 Private label — contact sales. Requires a private-label entitlement on your API client.
Get policies by employee ID
Security
oauth2ClientCredentials(Required scopes: wallet-policies:read)
- Mock serverhttps://developer.boyahq.com/_mock/v2/openapi/wallet-policies/employee/{employeeId}
- Productionhttps://api.boyahq.com/v2/wallet-policies/employee/{employeeId}
- Sandboxhttps://sandbox.api.boyahq.com/v2/wallet-policies/employee/{employeeId}
curl -i -X GET \
'https://developer.boyahq.com/_mock/v2/openapi/wallet-policies/employee/{employeeId}?status=ACTIVE&includeExpired=false' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'business_id: string'Policies retrieved successfully
Array [
]
Response
[ { "_id": "string", "subject_type": "EMPLOYEE", "employee_id": {}, "business_id": "string", "external_ref": "string", "wallet_id": "string", "permissions": [ … ], "limits": { … }, "thresholds": { … }, "restrictions": { … }, "status": "ACTIVE", "valid_from": "string", "valid_until": "string", "granted_by": {}, "revoked_by": "string", "revoked_at": "string", "revoke_reason": "string", "label": "string", "notes": "string", "createdAt": "string", "updatedAt": "string" } ]