Licenses

POST /v1/licenses/execute — Finalize a quote into a license lifecycle tied to a payment intent.

Validates that the quote and payment intent exist, belong to the calling tenant, and are linked. Returns the current license state and a next-action hint indicating what the client should do. Does NOT activate unpaid licenses.

post/v1/licenses/execute

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/licenses/execute
  • Auth: API key in header Authorization

Request body

payment_intent_idstring uuid required

The payment intent that should cover this license.

quote_idstring uuid required

The quote this license is tied to.

Response

License execution result with next-action hint

activated_atstring date-time nullable
asset_idstring uuid required
created_atstring date-time required
license_idstring uuid required
next_actionstring nullable
payment_intent_idstring uuid required
quote_idstring uuid required
statusstring required
term_endstring date nullable
term_startstring date nullable
territorystring required
updated_atstring date-time required
usage_scopestring required

Changes

No recorded changes to this operation across all 2 revisions of this API.