Payment methods
payment_methodsList or enable agent payment methods (action=list|enable) with friendly labels. Defaults: cod + x402. invoice (B2B) is coming_soon. bank_card is handoff-only.
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": {
"agent_id": "<agent_id>",
"action": "<action>"
},
"name": "payment_methods"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rail | No | Rail key required when action=enable, e.g. x402 (not bank_card vault) | |
| action | Yes | list = enumerate rails; enable = turn on one rail | |
| agent_id | Yes | Agent id whose methods to list or enable | |
| session_token | No | Session token from agent_authenticate — required whenever agent_id is passed |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hint | No | ||
| next | No | ||
| error | No | ||
| label | No | ||
| detail | No | ||
| status | No | ||
| methods | No | ||
| rail_key | No | ||
| approval_url | No |