Skip to content
Proud to collaborate with Microsoft for Startups

stripe.prices.create_price ​

Create a Stripe price (one-time or recurring)

Create a price for an existing product.

Omit recurring_interval for a one-time price; set it to day | week | month | year for a subscription price. unit_amount is in the currency's smallest unit — 4990 is R$ 49,90 when currency is "brl".

Acts on the CUSTOMER'S OWN Stripe account, authenticated via the org-scoped Stripe connection selected by cloud_connection_uuid.

Inputs:

  • cloud_connection_uuid: Org-scoped Stripe connection (customer's own account).
  • product_id: Product this price belongs to.
  • unit_amount: Amount in the currency's smallest unit (4990 = R$ 49,90).
  • currency: Three-letter ISO currency, e.g. brl or usd.
  • recurring_interval: day | week | month | year — omit for one-time (optional).
  • recurring_interval_count: Intervals between charges (default: 1) (optional).
  • nickname: Internal label for the price (optional).
  • metadata: Arbitrary key-value metadata (optional).

Outputs (terminal state_data):

  • price_id: str
  • product_id: str
  • unit_amount: int
  • currency: str
  • recurring_interval: str

Connection required: cloud_connection_uuid — the organization's own Stripe account credentials; there is no platform-key fallback.

Overview ​

PropertyValue
Workflow typeAtomic
LibraryApp-stripe
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
cloud_connection_uuiduuidYes—Org-scoped Stripe connection (customer's own account)
product_idstringYes—Product this price belongs to
unit_amountintegerYes—Amount in the currency's smallest unit (4990 = R$ 49,90)
currencystringYes—Three-letter ISO currency, e.g. brl or usd
recurring_intervalstringNo—day
recurring_interval_countintegerNo—Intervals between charges (default: 1)
nicknamestringNo—Internal label for the price
metadatajsonNo—Arbitrary key-value metadata

Output Schema ​

FieldTypeRequiredDefaultDescription
price_idstringNo——
product_idstringNo——
unit_amountintegerNo——
currencystringNo——
recurring_intervalstringNo——
cloud_connection_uuiduuidNo——
recurring_interval_countintegerNo——
nicknamestringNo——
metadatajsonNo——
failure_reasonstringNo——
failure_typestringNo——
failed_actionstringNo——
failed_at_statestringNo——
failed_stepstringNo——
errorstringNo——
error_typestringNo——
failed_layerintegerNo——

States ​

StateInitialTerminalSuccessAuto-advanceDescription
pendingYesNo—execute—
completedNoYesYes——
failedNoYesNo——

State Diagram ​

Transitions ​

FromActionToDescription
pendingexecutecompleted—
* (any state)failfailed—

API Usage ​

bash
POST /api/workflows/start
Content-Type: application/json

{
  "workflow_type": "stripe.prices.create_price",
  "initial_data": {
    "cloud_connection_uuid": "value",
    "product_id": "value",
    "unit_amount": 123,
    "currency": "value"
  }
}