Payments
Pre-Chargeback Alerts
Update a Pre-Chargeback Rule
Updates a Verifi RDR refund rule. A rule's type cannot be changed — only its parameters. parameters is replaced, not merged, so send the complete object (operator, currencyCode, amountInCents). Omitting parameters entirely is a no-op — the rule is returned unchanged.
patch/payments/pre-chargeback-alerts/merchants/{merchant_id}/rules/{rule_id}
Request
- Base URLhttps://api.evervault.com
- AuthHTTP basic
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
merchant_idstring required
Example:merchant_eead1d640d7c
The unique identifier of the merchant.
rule_idstring required
Example:pre_chargeback_rule_eead1d640d7c
The unique identifier of the rule.
Request body
Example request
{
"parameters": {
"operator": "LESS_THAN_OR_EQUAL",
"currencyCode": "USD",
"amountInCents": 10000
}
}Response
Returns the updated Pre-Chargeback Rule object.
Example response
{
"id": "pre_chargeback_rule_eead1d640d7c",
"type": "AMOUNT",
"outcome": "REFUND",
"parameters": {
"operator": "LESS_THAN_OR_EQUAL",
"currencyCode": "USD",
"amountInCents": 5000
},
"createdAt": "2025-02-11T10:30:00Z"
}Changes
No recorded changes to this operation across all 1 revision of this API.