Start a Stripe checkout session to purchase credits with any card.
cURL
curl --request POST \ --url https://api.vidjutsu.ai/v1/auth/setup \ --header 'Content-Type: application/json' \ --data ' { "credits": 100, "email": "<string>", "successUrl": "<string>" } '
{ "url": "<string>", "sessionId": "<string>", "credits": 123, "amount": 123 }
Number of credits to purchase. Each credit costs $0.10.
Email for receipt and key recovery.
URL to redirect to after payment.
Checkout session created
Stripe checkout URL.
Session ID for polling /v1/auth/status.
Total in cents (USD).