Billing

Start collecting a payment method

Creates a SetupIntent so the Payment Element can collect and save a card without buying anything. Used to add a card to a cardless trial and to replace an expiring one. The card becomes the default when Stripe confirms the setup.

post/api/workspaces/{workspaceId}/billing/setup-intent

Request

  • Base URL: https://hiveship.app/api
  • URL: https://hiveship.app/api/api/workspaces/{workspaceId}/billing/setup-intent
  • Auth: API key in cookie hiveship_access

Path parameters

workspaceIdstring required

Response

clientSecret + publishableKey for the Payment Element

Changes

No recorded changes to this operation across all 1 revision of this API.