Payments
Create Session
Create a hosted payment session via Stripe Checkout.
POST
Documentation Index
Fetch the complete documentation index at: https://docs.khaime.com/llms.txt
Use this file to discover all available pages before exploring further.
Create Payment Session
Create a payment session that redirects customers to Stripe’s hosted checkout page. Best for merchants who want a fully hosted payment experience.For embedded payments (Stripe Payment Element on your own page), use Create Charge instead.
Request Body
Amount in smallest currency unit.
3-letter ISO currency code.
Khaime product ID. Required if
product_name is not provided.Product name for display. Required if
product_id is not provided.Redirect URL after successful payment.
Redirect URL if customer cancels.
For subscriptions:
monthly, yearly, quarterly, etc.Custom key-value pairs. Values must be scalar.
Response
payment_url to complete payment on Stripe’s hosted page.
