Set payment method as default
POST/v1/payment_methods/:id/set-default
Marks the method as the billing account's default and unsets previous defaults. Fails when the method is not active.
Request
Responses
- 200
- 401
- 403
- 404
- 422
- 429
- 500
Payment method set as default.
Missing or invalid bearer token.
Token is valid but lacks permission for this operation.
Resource not found in the current organization.
Request body failed validation.
Rate limit exceeded.
Unexpected server error.