billing_setDefaultPaymentMethodV1
Set the default payment method for your account to ensure future orders use the preferred payment option. Specify the payment method ID to configure.
Instructions
Set the default payment method for your account.
Use this endpoint to configure the primary payment method for future orders.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| paymentMethodId | Yes | Payment method ID |
Input Schema (JSON Schema)
{
"properties": {
"paymentMethodId": {
"description": "Payment method ID",
"type": "integer"
}
},
"required": [
"paymentMethodId"
],
"type": "object"
}
Implementation Reference
- types.d.ts:224-232 (schema)TypeScript interface definition for the 'billing_setDefaultPaymentMethodV1' tool schema, specifying input parameter 'paymentMethodId' as a number and response as any."billing_setDefaultPaymentMethodV1": { params: { /** * Payment method ID */ paymentMethodId: number; }; response: any; // Response structure will depend on the API };