---
title: "POST /v1/payment-intents — Create a payment intent from a valid, unexpired quote."
method: POST
path: "/v1/payment-intents"
tags: ["Payments"]
---

# POST /v1/payment-intents — Create a payment intent from a valid, unexpired quote.

`POST /v1/payment-intents`

## Request

- Base URL: `https://api.stockfilm.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.stockfilm.com/v1/payment-intents`
- Auth: API key in header `Authorization`

## Request body

- CreatePaymentIntentApiRequest: Request body for POST /v1/payment-intents.
  - `quote_id` string, uuid, required: The quote to create a payment intent for.

## Response `200`

Payment intent created with provider instructions

- CreatePaymentIntentResponse: Response body for POST /v1/payment-intents.
  - `amount_cents` integer, required
  - `created_at` string, date-time, required
  - `currency` string, required
  - `expires_at` string, date-time, nullable
  - `instructions` object, required
  - `license_transaction_id` string, uuid, required
  - `payment_intent_id` string, uuid, required
  - `quote_id` string, uuid, required
  - `rail` 'solana_sol' | 'solana_usdc', required: Canonical public payment rail values for API contracts.
  - `rail_payment_id` string, nullable
  - `status` string, required

## Other responses

- `400`: Quote not open or expired
- `404`: Quote not found

---

[API](https://skmtc.dev/stockfilm/apis/stockfilm-api.md) · [All operations](https://skmtc.dev/stockfilm/apis/stockfilm-api/llms.txt) · [OpenAPI document](https://skmtc.dev/stockfilm/apis/stockfilm-api/revisions/ef244025c706?raw)
