Skip to main content
POST
/
api
/
storefront
/
checkout
/
{checkout_id}
/
payment-intent
Create Payment Intent
curl --request POST \
  --url https://api.example.com/api/storefront/checkout/{checkout_id}/payment-intent
{
  "payment_intent_id": "<string>",
  "client_secret": "<string>",
  "amount": 123,
  "currency": "<string>",
  "status": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.stella-commerce.com/llms.txt

Use this file to discover all available pages before exploring further.

Headers

authorization
string | null

Path Parameters

checkout_id
string<uuid>
required

Response

Successful Response

Stripe PaymentIntent client payload.

Returned from POST /api/storefront/checkout/{id}/payment-intent so the buyer's browser can mount the Stripe Payment Element with client_secret. amount is in the smallest currency unit (cents for USD, paisa for NPR) — same as Stripe's wire format.

payment_intent_id
string
required
client_secret
string
required
amount
integer
required
currency
string
required
status
string
required