Replace a Payment Rule
Changes a payment rule’s action and conditions by deleting it and creating its successor in one step. The successor has a new ID and keeps the replaced rule’s name, metadata, and active or inactive status.
Authorizations
An Account API key, an App API key, an account access token, an account-scoped user token, or a user OAuth token. Prepend the key or token with Bearer, for example Bearer ***************************. See Auth & API keys for how to get each one.
Headers
A unique key that makes this request safe to retry. See Idempotent requests.
255"d9105228-4a08-46b1-8b91-42fed586d383"
Body
What this account's rule requests when every condition matches. One applicable account-rule action wins, in this order: allow, block, review, enforce_3ds. An allow overrides this account's other rules, never Whop's own fraud controls. A review requests authorization without capture for an eligible card payment through Whop Payments. Off-session renewals require off_session_payment_rules to be enabled. Automatic capture is scheduled for 48 hours after authorization. Capture or void the payment before then to decide sooner. Capture may complete later or fail. Review is skipped for unsupported methods, numbered invoice payments, and payments already configured for manual capture. An enforce_3ds is skipped when the account rule cannot apply a challenge. Other 3DS requirements still apply. A rule on avs_check or cvv_check accepts block or review. Whop authorizes a freshly entered card first. When the rule matches the bank's result, block voids and declines the payment. A review holds it for you to capture or void, with the same automatic capture.
allow, block, review, enforce_3ds "review"
Response
The rule that replaced this one
What this account's rule requests when every condition matches. One applicable account-rule action wins, in this order: allow, block, review, enforce_3ds. An allow overrides this account's other rules, never Whop's own fraud controls. A review requests authorization without capture for an eligible card payment through Whop Payments. Off-session renewals require off_session_payment_rules to be enabled. Automatic capture is scheduled for 48 hours after authorization. Capture or void the payment before then to decide sooner. Capture may complete later or fail. Review is skipped for unsupported methods, numbered invoice payments, and payments already configured for manual capture. An enforce_3ds is skipped when the account rule cannot apply a challenge. Other 3DS requirements still apply. A rule on avs_check or cvv_check accepts block or review. Whop authorizes a freshly entered card first. When the rule matches the bank's result, block voids and declines the payment. A review holds it for you to capture or void, with the same automatic capture.
allow, block, review, enforce_3ds "block"

