Subscriptions
Purchase usage credits
Create a Stripe Checkout session for purchasing additional AI credits or metered add-ons.
post/subscriptions/buy-credits
Request
- Base URL: https://us-central1-paymentgateway-ab783.cloudfunctions.net/api
- URL: https://us-central1-paymentgateway-ab783.cloudfunctions.net/api/subscriptions/buy-credits
- Auth: HTTP bearer
Request body
Example request
{
"appId": "ai-caller",
"currency": "usd"
}Response
Checkout session created
Changes
No recorded changes to this operation across all 1 revision of this API.