naftiko: 1.0.0-alpha2 info: label: Stripe Prices API — Prices description: 'Stripe Prices API — Prices. 5 operations. Lead operation: Prices. Self-contained Naftiko capability covering one Stripe business surface.' tags: - Stripe - Prices created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: STRIPE_API_KEY: STRIPE_API_KEY capability: consumes: - type: http namespace: prices-prices baseUri: https://api.stripe.com description: Stripe Prices API — Prices business capability. Self-contained, no shared references. resources: - name: v1-prices path: /v1/prices operations: - name: getprices method: GET description:
Returns a list of your active prices, excluding inline
prices. For the list of inactive prices, set active to false.
Creates a new price for an existing product. The price can be recurring or one-time.
outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: v1-prices-search path: /v1/prices/search operations: - name: getpricessearch method: GET description:Search for prices you’ve previously created using Stripe’s Search Query Language. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: expand in: query type: array description: Specifies which fields in the response should be expanded. - name: limit in: query type: integer description: A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10. - name: page in: query type: string description: A cursor for pagination across multiple pages of results. Don't include this parameter on the first call. Use the next_page value returned in a previous respons - name: query in: query type: string description: The search query string. See [search query language](https://stripe.com/docs/search#search-query-language) and the list of supported [query fields for prices](h required: true - name: body in: body type: object description: Request body (JSON). required: false - name: v1-prices-price path: /v1/prices/{price} operations: - name: getpricesprice method: GET description:
Retrieves the price with the given ID.
outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: expand in: query type: array description: Specifies which fields in the response should be expanded. - name: price in: path type: string required: true - name: body in: body type: object description: Request body (JSON). required: false - name: postpricesprice method: POST description:Updates the specified price by setting the values of the parameters passed. Any parameters not provided are left unchanged.
outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: price in: path type: string required: true - name: body in: body type: object description: Request body (JSON). required: false authentication: type: bearer token: '{{env.STRIPE_API_KEY}}' exposes: - type: rest namespace: prices-prices-rest port: 8080 description: REST adapter for Stripe Prices API — Prices. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/v1/prices name: v1-prices description: REST surface for v1-prices. operations: - method: GET name: getprices description:Returns a list of your active prices, excluding inline
prices. For the list of inactive prices, set active to false.
Creates a new price for an existing product. The price can be recurring or one-time.
call: prices-prices.postprices with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/v1/prices/search name: v1-prices-search description: REST surface for v1-prices-search. operations: - method: GET name: getpricessearch description:Search for prices you’ve previously created using Stripe’s Search Query Language. call: prices-prices.getpricessearch with: expand: rest.expand limit: rest.limit page: rest.page query: rest.query body: rest.body outputParameters: - type: object mapping: $. - path: /v1/v1/prices/{price} name: v1-prices-price description: REST surface for v1-prices-price. operations: - method: GET name: getpricesprice description:
Retrieves the price with the given ID.
call: prices-prices.getpricesprice with: expand: rest.expand price: rest.price body: rest.body outputParameters: - type: object mapping: $. - method: POST name: postpricesprice description:Updates the specified price by setting the values of the parameters passed. Any parameters not provided are left unchanged.
call: prices-prices.postpricesprice with: price: rest.price body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: prices-prices-mcp port: 9090 transport: http description: MCP adapter for Stripe Prices API — Prices. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: p-returns-list-your-active-prices description:Returns a list of your active prices, excluding inline
prices. For the list of inactive prices, set active to false.
Creates a new price for an existing product. The price can be recurring or one-time.
hints: readOnly: false destructive: false idempotent: false call: prices-prices.postprices with: body: tools.body outputParameters: - type: object mapping: $. - name: p-search-prices-you-ve-previously-created description:Search for prices you’ve previously created using Stripe’s Search Query Language. hints: readOnly: true destructive: false idempotent: true call: prices-prices.getpricessearch with: expand: tools.expand limit: tools.limit page: tools.page query: tools.query body: tools.body outputParameters: - type: object mapping: $. - name: p-retrieves-price-given-id-p description:
Retrieves the price with the given ID.
hints: readOnly: true destructive: false idempotent: true call: prices-prices.getpricesprice with: expand: tools.expand price: tools.price body: tools.body outputParameters: - type: object mapping: $. - name: p-updates-specified-price-setting-values description:Updates the specified price by setting the values of the parameters passed. Any parameters not provided are left unchanged.
hints: readOnly: false destructive: false idempotent: false call: prices-prices.postpricesprice with: price: tools.price body: tools.body outputParameters: - type: object mapping: $.