Credits
Purchase credits
Create a Stripe checkout session for purchasing credits
post/credits/purchase
Request
- Base URL: https://us-central1-paymentgateway-ab783.cloudfunctions.net/api
- URL: https://us-central1-paymentgateway-ab783.cloudfunctions.net/api/credits/purchase
- Auth: HTTP bearer
Request body
Example request
{
"appId": "ai-caller",
"packageId": "ai_caller_credits_500"
}Response
Checkout session created
Changes
No recorded changes to this operation across all 1 revision of this API.