---
title: "Apply settlement rule to virtual account"
method: POST
path: "/v2/users/{userId}/virtual-accounts/{accountId}/settlement-rules/{ruleId}"
tags: ["Settlement Rules"]
---

# Apply settlement rule to virtual account

`POST /v2/users/{userId}/virtual-accounts/{accountId}/settlement-rules/{ruleId}`

Apply a settlement rule to a specific virtual account. This will enable the fee structure defined in the rule for transactions on that account.

## Path parameters

- `userId` string, required
- `accountId` string, required
- `ruleId` string, required

## Response `200`

Success

- ApplySettlementRuleResponse
  - `message` string, required — Success message

## Other responses

- `401` — Unauthorized
- `404` — Resource not found
- `500` — Internal Server Error

---

[API](https://skmtc.net/hifibridge/apis/hifi-api.md) · [All operations](https://skmtc.net/hifibridge/apis/hifi-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/hifibridge/hifi-api/revisions/74d9e530fbea/schema)
