Get a Stripe checkout link: a credit top-up, or a plan subscription for the user

For agents: pay the link with a card you hold, or give it to the user. Credits are added within a minute of payment. Send amountUsd (whole dollars, 5–500) or packId starter ($10) / pro ($25); credits equal dollars paid. Creating a link is free; 10 per hour per account.

post/v1/credits/checkout

Request

  • Base URL: https://varosity.ai/api
  • URL: https://varosity.ai/api/v1/credits/checkout
  • Auth: HTTP bearer

Request body

amountUsdinteger
packId'starter' | 'pro'
plan'basic' | 'pro' | 'creator'

A monthly plan instead of a top-up: basic $12 → 1,200 credits/mo, pro $29 → 3,500, creator $125 → 17,000. Returns a subscription checkout link for the user.

interval'month' | 'year'

Plan billing; yearly is about 20% off and still grants credits monthly.

Response

Checkout link

okboolean
checkout_urlstring
expires_atstring
packobject

Changes

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