PUT
/
subscriptions
/
{subscriptionId}
/
paymentmethods
/
{id}
/
default
Set default payment method
curl --request PUT \
  --url https://api.smokeball.com/subscriptions/{subscriptionId}/paymentmethods/{id}/default \
  --header 'Authorization: <api-key>' \
  --header 'x-api-key: <api-key>'
This response does not have an example.

Authorizations

x-api-key
string
header
required
Authorization
string
header
required

Path Parameters

subscriptionId
string<uuid>
required

The unique identifier of the subscription

id
string<uuid>
required

The ID of the payment method to set as default

Response

200

Successfully set the default payment method