Add payment method

以 Markdown 格式查看

Attach Stripe PaymentMethod. owner, billing_admin only.

请求头

Authorizationstring必需

Bearer {access_token}

X-Workspace-Idstring必需
Workspace UUID

请求

stripePaymentMethodId, setAsDefault
setAsDefaultboolean可选
stripePaymentMethodIdstring可选

响应

data: created payment method

错误

400
Bad Request Error
403
Forbidden Error
422
Unprocessable Entity Error