Skip to main content
Sets which saved payment method is the default used to fund new cards. Find the right payment_method_id with list_payment_methods first.

Parameters

ParameterTypeRequiredDescription
payment_method_idstringYesThe payment method ID to make the default, like pm_xxx.

Returns

A confirmation that the default was updated, echoing the paymentMethodId with status: "set_default". From then on, new cards are funded by that payment method.

Example

{ "name": "set_default_payment_method", "arguments": { "payment_method_id": "pm_1AbCdEfGhIjKlMnO" } }