peer_challenge
Validate a peer's CertBeforePay certificate against a policy before an x402 payment to confirm counterparty compliance.
Instructions
Verify a peer's CertBeforePay certificate against a policy with POST /v1/peer/challenge. Paid: $0.01 in USDC on Base via x402 from your key.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"certificate": "<certificate>"
},
"name": "peer_challenge"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| min_score | No | ||
| certificate | Yes | The peer's CertBeforePay certificate | |
| require_tier | No |