subscribeCloudPlus
POST/apis/cra.diagrid.io/v1beta1/billing/subscription/plus
Subscribe the organization to Cloud Plus. The first month is charged to the organization's default card straight away, and the plan renews monthly on its own invoice, separate from any dedicated regions.
Subscribing while a cancellation is scheduled withdraws the cancellation, with no new charge. Subscribing while already subscribed changes nothing. Both return the current subscription.
If the card's bank wants the first charge authenticated (3-D Secure), a request with authenticateInBrowser=true returns the subscription pending, with status.paymentConfirmationSecret to complete the check with Stripe.js. It becomes active once the charge is paid. Subscribing again while it is pending starts a new attempt, on the organization's current default card.
Request
Responses
- 200
- 400
- 402
- 409
- default
Cloud Plus is not available to the organization.
The organization has no default card, the card was declined, or it needs authentication and authenticateInBrowser was not set. The organization is not subscribed.
Cloud Plus cannot be bought this way for the organization: its default payment method is a cloud marketplace, or its plan is managed by Diagrid.
Unexpected error.