---
title: "Activate or deactivate payment rule"
method: POST
path: "/payment/v1/rules/{id}/actions"
tags: ["Fiat Payments"]
---

# Activate or deactivate payment rule

`POST /payment/v1/rules/{id}/actions`

## Request

- Base URL: `https://api.sandbox.bvnk.com`
- URL: `https://api.sandbox.bvnk.com/payment/v1/rules/{id}/actions`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/bvnk/apis/bvnk-api-endpoints/docs/payment/v1/rules/:id/actions/post.ts> (a function with typed inputs; its response is checked against the schema)

Activates or deactivates a payment rule. If you linked a rule to an incorrect wallet, you can deactivate it. Deactivated rules will not trigger automated actions but remain in your account for reference.

## Path parameters

- `id` string, uuid, required

## Request body

- PaymentRuleActionRequest
  - `type` 'ACTIVATE' | 'DEACTIVATE', required: Action to perform on the payment rule. Use `ACTIVATE` to enable the rule or `DEACTIVATE` to disable it. Deactivated rules will not trigger automated actions but remain in your account for reference.

## Response `204`

204 No Content

## Other responses

- `400`: Bad request.
- `401`: Unauthorized.
- `403`: Forbidden.
- `404`: Rule not found.

## Changes

- **2026-06-16** `97d6c0d2fe2e`: 4 breaking, 4 warning, 4 info
  - the `details/errors` response's property type changed from `object` to `array` for status `400`
  - the `details/errors` response's property type changed from `object` to `array` for status `401`
  - the `details/errors` response's property type changed from `object` to `array` for status `403`
  - the `details/errors` response's property type changed from `object` to `array` for status `404`
  - …8 more

[Operation history](https://skmtc.dev/bvnk/apis/bvnk-api-endpoints/changes/payment/v1/rules/:id/actions/post.md)

---

[API](https://skmtc.dev/bvnk/apis/bvnk-api-endpoints.md) - [All operations](https://skmtc.dev/bvnk/apis/bvnk-api-endpoints/llms.txt) - [OpenAPI document](https://skmtc.dev/bvnk/apis/bvnk-api-endpoints/revisions/c386d436bf2c?raw)
