PATCH

/api/billing/payment-methods/{id}

Set default payment method

Sets the specified payment method as the default for future charges.

curl -s -X PATCH "$BASE/api/billing/payment-methods/$PM_ID" \
  -H "Authorization: Bearer $API_KEY"

Parameters

FieldTypeReqDefaultDescription
idstringY

Try it out

Path Parameters
/api/billing/payment-methods/{id}
Sign in to use your API key
Request Body
Response
Click Execute to test