Create a Stripe checkout link to upgrade to a paid plan (0 credits, works even when over limit)

Returns a Stripe-hosted checkout URL for the chosen plan. Billing calls cost 0 credits so an over-limit account can always upgrade. The user opens the returned url in a browser to pay.

post/v1/billing/checkout

Request

  • Base URL: https://swathapi.com
  • URL: https://swathapi.com/v1/billing/checkout
  • Auth: HTTP bearer

Request body

plan'starter' | 'developer' | 'scale' required

starter = 5,000 credits/mo; developer = 40,000; scale = 600,000

Response

Checkout session created

urlstring required

Stripe-hosted checkout page URL — open in a browser

Changes

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