PUT
/
subscriptions
/
{subscriptionId}
/
paymentmethods
/
{id}
/
default
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
required

The unique identifier of the subscription

id
string
required

The ID of the payment method to set as default

Response

200

Successfully set the default payment method