Reference
/- Update a business policy
List all business policy groups
Fetch all policy groups with their policies
Get business policies by policy group ID
Get a single business policy by ID
Get full business policy summary
Get category or subcategory policies
Create or update a category / subcategory policy
Update a category or subcategory policy
Delete a category or subcategory policy
List policy approval workflows for the selected currency
Create a policy approval workflow for a currency
Create a new business policy
Delete a business policy
Update a business policy
🔒 Private label — contact sales. Requires a private-label entitlement on your API client.
Updates rules, workflow, status, or other fields of an existing business policy. Pass status: "DISABLED" to disable the policy.
Security
oauth2ClientCredentials(Required scopes: business-policies:write)
Approval workflow ID or null when no approval is required
Example:"6a3e6c5387ee44d7d52a3092"
- Mock serverhttps://developer.boyahq.com/_mock/v2/openapi/business-policies/{businessPolicyId}
- Productionhttps://api.boyahq.com/v2/business-policies/{businessPolicyId}
- Sandboxhttps://sandbox.api.boyahq.com/v2/business-policies/{businessPolicyId}
curl -i -X PUT \
https://developer.boyahq.com/_mock/v2/openapi/business-policies/6a3ebb7893bb2649e19cb8a6 \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-H 'business_id: string' \
-d '{
"_id": "6a3ebb7893bb2649e19cb8a6",
"status": "ACTIVE",
"policy": "66788b3e2805e9ffbda6dcf7",
"business": "631b067a46830ae81217f860",
"policy_type": "business",
"employees": [
"string"
],
"teams": [
"string"
],
"budgets": [
"string"
],
"priority": 1,
"workflow": "6a3e6c5387ee44d7d52a3092",
"rules": [
{
"conditions": [
{
"field": "string",
"operator": "string",
"value": {},
"value_id": "string"
}
],
"action": "string",
"period_unit": "TRANSACTION",
"period": 0,
"kick_off_date": "string",
"target": "string",
"target_employees": [
"string"
],
"exempt_employees": [
"string"
],
"target_teams": [
"string"
],
"exempt_teams": [
"string"
],
"target_sub_categories": [
"string"
],
"exempt_sub_categories": [
"string"
],
"target_channels": [
"string"
],
"target_roles": [
"string"
],
"require_tax_compliant_receipt": true,
"funding_source_strategy": "string",
"exempt_wallet_types": [
"string"
]
}
],
"name": "Test",
"description": "test",
"require_tax_compliant_receipt": true
}'Business policy updated successfully
Parent policy group — either a MongoDB ObjectId string or an expanded PolicyRefV1Dto object
Response
{ "_id": "string", "status": "ACTIVE", "policy": { "_id": "string", "status": "ACTIVE", "description": "string", "policy_code": "string" }, "business": "string", "policy_type": "string", "policy_code": "string", "employees": [ "string" ], "teams": [ "string" ], "budgets": [ "string" ], "priority": 0, "workflow": {}, "rules": [ { … } ], "name": "string", "description": "string", "createdAt": "string", "updatedAt": "string" }