Add payment method

View as Markdown

Attach Stripe PaymentMethod. owner, billing_admin only.

Headers

AuthorizationstringRequired

Bearer {access_token}

X-Workspace-IdstringRequired
Workspace UUID

Request

stripePaymentMethodId, setAsDefault
setAsDefaultbooleanOptional
stripePaymentMethodIdstringOptional

Response

data: created payment method

Errors

400
Bad Request Error
403
Forbidden Error
422
Unprocessable Entity Error