Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
cURL
curl --request POST \ --url https://api.erna.ai/v1/billing/checkout \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "amount": 501 }'
{ "url": "https://checkout.stripe.com/pay/cs_test_123", "sessionId": "cs_test_123" }
Create a Stripe Checkout session to top up credits.
OAuth2 access token or API key
x >= 500
Checkout session created
"https://checkout.stripe.com/pay/cs_test_123"
"cs_test_123"