Make a saved payment method the org's default (used by off-session charges).
payment_methods.set_defaultDesignate a saved payment method as the organization's default for off-session charges, simplifying recurring payments.
Instructions
Make a saved payment method the org's default (used by off-session charges).
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": {
"payment_method_row_id": "<payment_method_row_id>"
},
"name": "payment_methods.set_default"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x-api-key | No | ||
| payment_method_row_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| isDefault | No |