Make a payment method the default
set_default_payment_methodMake a payment method the default
Makes one of your stored payment methods the default, so future card payments of your account use it. Use it before remove_payment_method when the current default should go, because the default cannot be removed. paymentMethodId is an id from list_payment_methods, which also shows the current default in defaultPaymentMethodId. A new card can only be added in the dashboard. 400 when the account has no stored card details yet.
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": {
"paymentMethodId": "<paymentMethodId>"
},
"name": "set_default_payment_method"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| paymentMethodId | Yes | `id` from `GET /billing/payment-methods`. |