firewall_before_payment
Paid automatic before-payment gate for x402 clients. Call after receiving the merchant's real PAYMENT-REQUIRED challenge but before creating/signing the merchant payment. Returns firewall_action ALLOW, REVIEW or BLOCK plus signed proof. ALLOW means the wallet/client may proceed only if its own spending authority also permits the payment. Machine price: $0.001 via x402.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| request | Yes | ||
| category | No | Optional purchase/service category for audit context. | |
| merchant_id | No | Optional stable merchant identifier; defaults to the resource hostname. | |
| payment_required | Yes | Merchant's real x402 PAYMENT-REQUIRED payload, decoded or encoded. |