---
title: "Create a Pre-Chargeback Rule"
method: POST
path: "/payments/pre-chargeback-alerts/merchants/{merchant_id}/rules"
tags: ["Payments", "Pre-Chargeback Alerts"]
---

# Create a Pre-Chargeback Rule

`POST /payments/pre-chargeback-alerts/merchants/{merchant_id}/rules`

## Request

- Base URL: `https://api.evervault.com`
- URL: `https://api.evervault.com/payments/pre-chargeback-alerts/merchants/{merchant_id}/rules`
- Auth: HTTP basic
- TypeScript: <https://skmtc.dev/evervault/apis/evervault-api/docs/payments/pre-chargeback-alerts/merchants/:merchant_id/rules/post.ts> (a function with typed inputs; its response is checked against the schema)

Creates a Verifi RDR refund rule for a merchant. The merchant must already be enrolled
in Verifi RDR. A merchant has at most one rule — creating a second rule is rejected
with a `400`.

## Path parameters

- `merchant_id` string, required

## Request body

- object
  - `type` 'AMOUNT', required: The rule type. Currently only `AMOUNT` is supported.
  - `parameters` object, required: The rule parameters.
    - `operator` 'GREATER_THAN' | 'GREATER_THAN_OR_EQUAL' | 'LESS_THAN' | 'LESS_THAN_OR_EQUAL' | 'EQUAL' | 'NOT_EQUAL', required: The comparison operator applied to the disputed amount.
    - `currencyCode` 'USD', required: The currency used for rule evaluation. Only `USD` is supported.
    - `amountInCents` integer, required: The threshold amount in cents.

## Response `201`

Returns the created Pre-Chargeback Rule object.

- PreChargebackRule: A Verifi RDR refund rule that controls which alerts Evervault automatically refunds for a merchant.
  - `id` string, required: A unique identifier for the rule.
  - `type` 'AMOUNT', required: The rule type. Currently only `AMOUNT` is supported.
  - `outcome` 'REFUND', required: The action taken when the rule matches. Currently always `REFUND`.
  - `parameters` object, required: The rule parameters. Replaced entirely on update (not merged).
    - `operator` 'GREATER_THAN' | 'GREATER_THAN_OR_EQUAL' | 'LESS_THAN' | 'LESS_THAN_OR_EQUAL' | 'EQUAL' | 'NOT_EQUAL', required: The comparison operator applied to the disputed amount.
    - `currencyCode` 'USD', required: The currency used for rule evaluation. Only `USD` is supported. Convert non-USD thresholds to USD yourself before creating the rule.
    - `amountInCents` integer, required: The threshold amount in cents against which the disputed amount is compared.
  - `createdAt` string, date-time, required: When the rule was created, as an ISO 8601 timestamp in UTC.

## Other responses

- `400`: Invalid request — for example, the merchant has no Verifi RDR enrolment, a rule already exists, or the parameters are invalid.
- `404`: Merchant not found, or pre-chargeback alerts have not been configured.

## Changes

- **2026-11-06** `8d0ca833fa04`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/evervault/apis/evervault-api/changes/payments/pre-chargeback-alerts/merchants/:merchant_id/rules/post.md)

---

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