cURL
curl --request POST \ --url https://api.quiva.ai/accounts/payment/checkout-url \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "base_subscription": "price_1234567890", "addons": [ { "id": "price_0987654321", "type": "addon", "quantity": 2 } ] } '
{ "data": "https://checkout.stripe.com/c/pay/cs_test_1234567890" }
Generates a Stripe checkout URL for subscription
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Base subscription price ID
Subscription addons
Show child attributes
Checkout URL generated successfully