@x402r/arbiter package provides methods for arbiters to resolve disputes: reviewing refund requests, approving or denying them, and executing refunds.
Setup
Available Methods
The Arbiter SDK currently supports:approveRefundRequest()— Approve a pending refund requestdenyRefundRequest()— Deny a pending refund requestexecuteRefundInEscrow()— Execute an approved refund to transfer funds backgetPendingRefundRequests()— List refund requests awaiting decisiongetRefundRequestByKey()— Get details of a specific refund requestregisterArbiter()— Register in the on-chain ArbiterRegistryisArbiterRegistered()— Check registration statussubmitEvidence()— Attach evidence (IPFS CID) to a refund requestgetEvidence()— Retrieve a single evidence entry by indexgetAllEvidence()— Retrieve all evidence for a refund request
Try It Now
The easiest way to try arbiter features is with the arbiter-cli example, which provides a command-line interface for all arbiter operations:arbiter-cli
CLI tool for arbiters to review cases, make decisions, and manage registry.
Next Steps
Examples
See all working examples including the full payment flow.
Deploy Operator
Deploy a PaymentOperator with arbiter support.
