Stripe Payments
Create a payment intent
Creates a Stripe PaymentIntent for one-time payments. Returns clientSecret for frontend Stripe.js integration.
post/v1/payments/create-intent
Request
- Base URLhttps://api.miaai.chat (the document declares no server; this is the origin it was published from)
- URLhttps://api.miaai.chat/v1/payments/create-intent
- AuthHTTP bearer
Request body
Example request
{
"amount": 5999,
"currency": "usd",
"planId": "premium_monthly",
"planName": "Premium Monthly",
"email": "user@example.com"
}Response
Payment intent created successfully
Example response
{
"clientSecret": "pi_xxx_secret_xxx",
"paymentIntentId": "pi_xxx"
}Changes
No recorded changes to this operation across all 1 revision of this API.