naftiko: 1.0.0-alpha2 info: label: Stripe Quotes API — Quotes description: 'Stripe Quotes API — Quotes. 10 operations. Lead operation: Quotes. Self-contained Naftiko capability covering one Stripe business surface.' tags: - Stripe - Quotes created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: STRIPE_API_KEY: STRIPE_API_KEY capability: consumes: - type: http namespace: quotes-quotes baseUri: https://api.stripe.com description: Stripe Quotes API — Quotes business capability. Self-contained, no shared references. resources: - name: v1-quotes path: /v1/quotes operations: - name: getquotes method: GET description:
Returns a list of your quotes.
outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: customer in: query type: string description: The ID of the customer whose quotes will be retrieved. - name: ending_before in: query type: string description: A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 ob - 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: starting_after in: query type: string description: A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 o - name: status in: query type: string description: The status of the quote. - name: test_clock in: query type: string description: Provides a list of quotes that are associated with the specified test clock. The response will not include quotes with test clocks if this and the customer para - name: body in: body type: object description: Request body (JSON). required: false - name: postquotes method: POST description:A quote models prices and services for a customer. Default options for header, description,
footer, and expires_at can be set in the dashboard via the computed.upfront.line_items
property containing the first handful of those '
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: ending_before
in: query
type: string
description: A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list.
For instance, if you make a list request and receive 100 ob
- 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: quote
in: path
type: string
required: true
- name: starting_after
in: query
type: string
description: A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list.
For instance, if you make a list request and receive 100 o
- name: body
in: body
type: object
description: Request body (JSON).
required: false
- name: v1-quotes-quote-finalize
path: /v1/quotes/{quote}/finalize
operations:
- name: postquotesquotefinalize
method: POST
description:
Finalizes the quote.
outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: quote in: path type: string required: true - name: body in: body type: object description: Request body (JSON). required: false - name: v1-quotes-quote-line_items path: /v1/quotes/{quote}/line_items operations: - name: getquotesquotelineitems method: GET description:When retrieving a quote, there is an includable line_items property containing the first handful of those items. There is also a URL where you can retrieve the full (paginated) list of line items.
outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: ending_before in: query type: string description: A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 ob - 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: quote in: path type: string required: true - name: starting_after in: query type: string description: A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 o - name: body in: body type: object description: Request body (JSON). required: false - name: v1-quotes-quote-pdf path: /v1/quotes/{quote}/pdf operations: - name: getquotesquotepdf method: GET description:Download the PDF for a finalized quote
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: quote 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: quotes-quotes-rest port: 8080 description: REST adapter for Stripe Quotes API — Quotes. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/v1/quotes name: v1-quotes description: REST surface for v1-quotes. operations: - method: GET name: getquotes description:Returns a list of your quotes.
call: quotes-quotes.getquotes with: customer: rest.customer ending_before: rest.ending_before expand: rest.expand limit: rest.limit starting_after: rest.starting_after status: rest.status test_clock: rest.test_clock body: rest.body outputParameters: - type: object mapping: $. - method: POST name: postquotes description:A quote models prices and services for a customer. Default options for header, description,
footer, and expires_at can be set in the dashboard via the computed.upfront.line_items
property containing the first handful of those '
call: quotes-quotes.getquotesquotecomputedupfrontlineitems
with:
ending_before: rest.ending_before
expand: rest.expand
limit: rest.limit
quote: rest.quote
starting_after: rest.starting_after
body: rest.body
outputParameters:
- type: object
mapping: $.
- path: /v1/v1/quotes/{quote}/finalize
name: v1-quotes-quote-finalize
description: REST surface for v1-quotes-quote-finalize.
operations:
- method: POST
name: postquotesquotefinalize
description:
Finalizes the quote.
call: quotes-quotes.postquotesquotefinalize with: quote: rest.quote body: rest.body outputParameters: - type: object mapping: $. - path: /v1/v1/quotes/{quote}/line-items name: v1-quotes-quote-line-items description: REST surface for v1-quotes-quote-line_items. operations: - method: GET name: getquotesquotelineitems description:When retrieving a quote, there is an includable line_items property containing the first handful of those items. There is also a URL where you can retrieve the full (paginated) list of line items.
call: quotes-quotes.getquotesquotelineitems with: ending_before: rest.ending_before expand: rest.expand limit: rest.limit quote: rest.quote starting_after: rest.starting_after body: rest.body outputParameters: - type: object mapping: $. - path: /v1/v1/quotes/{quote}/pdf name: v1-quotes-quote-pdf description: REST surface for v1-quotes-quote-pdf. operations: - method: GET name: getquotesquotepdf description:Download the PDF for a finalized quote
call: quotes-quotes.getquotesquotepdf with: expand: rest.expand quote: rest.quote body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: quotes-quotes-mcp port: 9090 transport: http description: MCP adapter for Stripe Quotes API — Quotes. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: p-returns-list-your-quotes-p description:Returns a list of your quotes.
hints: readOnly: true destructive: false idempotent: true call: quotes-quotes.getquotes with: customer: tools.customer ending_before: tools.ending_before expand: tools.expand limit: tools.limit starting_after: tools.starting_after status: tools.status test_clock: tools.test_clock body: tools.body outputParameters: - type: object mapping: $. - name: p-a-quote-models-prices-and description:A quote models prices and services for a customer. Default options for header, description,
footer, and expires_at can be set in the dashboard via the computed.upfront.line_items
property containing the first handful of those '
hints:
readOnly: true
destructive: false
idempotent: true
call: quotes-quotes.getquotesquotecomputedupfrontlineitems
with:
ending_before: tools.ending_before
expand: tools.expand
limit: tools.limit
quote: tools.quote
starting_after: tools.starting_after
body: tools.body
outputParameters:
- type: object
mapping: $.
- name: p-finalizes-quote-p
description:
Finalizes the quote.
hints: readOnly: false destructive: false idempotent: false call: quotes-quotes.postquotesquotefinalize with: quote: tools.quote body: tools.body outputParameters: - type: object mapping: $. - name: p-when-retrieving-quote-there-is-2 description:When retrieving a quote, there is an includable line_items property containing the first handful of those items. There is also a URL where you can retrieve the full (paginated) list of line items.
hints: readOnly: true destructive: false idempotent: true call: quotes-quotes.getquotesquotelineitems with: ending_before: tools.ending_before expand: tools.expand limit: tools.limit quote: tools.quote starting_after: tools.starting_after body: tools.body outputParameters: - type: object mapping: $. - name: p-download-pdf-finalized-quote-p description:Download the PDF for a finalized quote
hints: readOnly: true destructive: false idempotent: true call: quotes-quotes.getquotesquotepdf with: expand: tools.expand quote: tools.quote body: tools.body outputParameters: - type: object mapping: $.