Stripe · Arazzo Workflow

Stripe Create Product and Price

Version 1.0.0

Create a Product, then attach a reusable Price to it.

1 workflow 2 source APIs 1 provider
View Spec View on GitHub CommerceFinancial-ServicesFintechPaymentsT1ArazzoWorkflows

Provider

stripe

Workflows

create-product-and-price
Create a product and a price that references it.
Creates a Product, then creates a one-time Price for the supplied amount and currency that points at the new product.
2 steps inputs: currency, description, name, unitAmount outputs: priceId, productId
1
createProduct
Create the Product describing what is being sold.
2
createPrice
Create a Price for the product at the requested amount and currency.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Stripe Create Product and Price
  summary: Create a Product, then attach a reusable Price to it.
  description: >-
    The catalog bootstrap pattern for selling anything in Stripe. The workflow
    creates a Product to describe what is being sold, then creates a Price that
    references that product and defines the amount and currency. Every step
    spells out its form-encoded request inline so the flow can be read and
    executed without opening the underlying OpenAPI description.
  version: 1.0.0
sourceDescriptions:
- name: postApi
  url: ../openapi/stripe-post-api-openapi.yml
  type: openapi
- name: productsApi
  url: ../openapi/stripe-products-api-openapi.yml
  type: openapi
workflows:
- workflowId: create-product-and-price
  summary: Create a product and a price that references it.
  description: >-
    Creates a Product, then creates a one-time Price for the supplied amount and
    currency that points at the new product.
  inputs:
    type: object
    required:
    - name
    - currency
    - unitAmount
    properties:
      name:
        type: string
        description: Display name of the product.
      description:
        type: string
        description: Optional product description.
      currency:
        type: string
        description: Three-letter ISO currency code for the price.
      unitAmount:
        type: integer
        description: Price amount in the smallest currency unit.
  steps:
  - stepId: createProduct
    description: Create the Product describing what is being sold.
    operationId: PostProducts
    requestBody:
      contentType: application/x-www-form-urlencoded
      payload:
        name: $inputs.name
        description: $inputs.description
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      productId: $response.body#/id
  - stepId: createPrice
    description: Create a Price for the product at the requested amount and currency.
    operationId: postPrices
    requestBody:
      contentType: application/x-www-form-urlencoded
      payload:
        product: $steps.createProduct.outputs.productId
        currency: $inputs.currency
        unit_amount: $inputs.unitAmount
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      priceId: $response.body#/id
  outputs:
    productId: $steps.createProduct.outputs.productId
    priceId: $steps.createPrice.outputs.priceId

Work with this as data

Every workflow here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for arazzo workflows

4 MCP tools reach this
  • find_arazzoBrowse and filter every workflow in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This workflow
curl "https://apis.io/api/v1/arazzo/stripe-create-product-and-price-workflow"
All arazzo workflows
curl "https://apis.io/api/v1/arazzo?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.