Stripe · Capability
Stripe Coupons API — Coupons
Stripe Coupons API — Coupons. 5 operations. Lead operation: Stripe Get Coupons. Self-contained Naftiko capability covering one Stripe business surface.
What You Can Do
GET
Getcoupons
— Stripe Get Coupons
/v1/v1/coupons
POST
Postcoupons
— Stripe Post Coupons
/v1/v1/coupons
DELETE
Deletecouponscoupon
— Stripe Delete Coupons Coupon
/v1/v1/coupons/{coupon}
GET
Getcouponscoupon
— Stripe Get Coupons Coupon
/v1/v1/coupons/{coupon}
POST
Postcouponscoupon
— Stripe Post Coupons Coupon
/v1/v1/coupons/{coupon}
MCP Tools
stripe-get-coupons
Stripe Get Coupons
read-only
idempotent
stripe-post-coupons
Stripe Post Coupons
stripe-delete-coupons-coupon
Stripe Delete Coupons Coupon
idempotent
stripe-get-coupons-coupon
Stripe Get Coupons Coupon
read-only
idempotent
stripe-post-coupons-coupon
Stripe Post Coupons Coupon
Capability Spec
naftiko: 1.0.0-alpha2
info:
label: Stripe Coupons API — Coupons
description: 'Stripe Coupons API — Coupons. 5 operations. Lead operation: Stripe Get Coupons. Self-contained Naftiko capability
covering one Stripe business surface.'
tags:
- Stripe
- Coupons
created: '2026-05-19'
modified: '2026-05-19'
binds:
- namespace: env
keys:
STRIPE_API_KEY: STRIPE_API_KEY
capability:
consumes:
- type: http
namespace: coupons-coupons-2
baseUri: https://api.stripe.com
description: Stripe Coupons API — Coupons business capability. Self-contained, no shared references.
resources:
- name: v1-coupons
path: /v1/coupons
operations:
- name: getcoupons
method: GET
description: Stripe Get Coupons
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: created
in: query
type: string
description: 'A filter on the list, based on the object `created` field. The value can be a string with an integer
Unix timestamp, or it can be a dictionary with a number of '
- 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: body
in: body
type: object
description: Request body (JSON).
required: false
- name: postcoupons
method: POST
description: Stripe Post Coupons
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: body
in: body
type: object
description: Request body (JSON).
required: false
- name: v1-coupons-coupon
path: /v1/coupons/{coupon}
operations:
- name: deletecouponscoupon
method: DELETE
description: Stripe Delete Coupons Coupon
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: coupon
in: path
type: string
required: true
- name: body
in: body
type: object
description: Request body (JSON).
required: false
- name: getcouponscoupon
method: GET
description: Stripe Get Coupons Coupon
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: coupon
in: path
type: string
required: true
- name: expand
in: query
type: array
description: Specifies which fields in the response should be expanded.
- name: body
in: body
type: object
description: Request body (JSON).
required: false
- name: postcouponscoupon
method: POST
description: Stripe Post Coupons Coupon
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: coupon
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: coupons-coupons-2-rest
port: 8080
description: REST adapter for Stripe Coupons API — Coupons. One Spectral-compliant resource per consumed operation, prefixed
with /v1.
resources:
- path: /v1/v1/coupons
name: v1-coupons
description: REST surface for v1-coupons.
operations:
- method: GET
name: getcoupons
description: Stripe Get Coupons
call: coupons-coupons-2.getcoupons
with:
created: rest.created
ending_before: rest.ending_before
expand: rest.expand
limit: rest.limit
starting_after: rest.starting_after
body: rest.body
outputParameters:
- type: object
mapping: $.
- method: POST
name: postcoupons
description: Stripe Post Coupons
call: coupons-coupons-2.postcoupons
with:
body: rest.body
outputParameters:
- type: object
mapping: $.
- path: /v1/v1/coupons/{coupon}
name: v1-coupons-coupon
description: REST surface for v1-coupons-coupon.
operations:
- method: DELETE
name: deletecouponscoupon
description: Stripe Delete Coupons Coupon
call: coupons-coupons-2.deletecouponscoupon
with:
coupon: rest.coupon
body: rest.body
outputParameters:
- type: object
mapping: $.
- method: GET
name: getcouponscoupon
description: Stripe Get Coupons Coupon
call: coupons-coupons-2.getcouponscoupon
with:
coupon: rest.coupon
expand: rest.expand
body: rest.body
outputParameters:
- type: object
mapping: $.
- method: POST
name: postcouponscoupon
description: Stripe Post Coupons Coupon
call: coupons-coupons-2.postcouponscoupon
with:
coupon: rest.coupon
body: rest.body
outputParameters:
- type: object
mapping: $.
- type: mcp
namespace: coupons-coupons-2-mcp
port: 9090
transport: http
description: MCP adapter for Stripe Coupons API — Coupons. One tool per consumed operation, routed inline through this
capability's consumes block.
tools:
- name: stripe-get-coupons
description: Stripe Get Coupons
hints:
readOnly: true
destructive: false
idempotent: true
call: coupons-coupons-2.getcoupons
with:
created: tools.created
ending_before: tools.ending_before
expand: tools.expand
limit: tools.limit
starting_after: tools.starting_after
body: tools.body
outputParameters:
- type: object
mapping: $.
- name: stripe-post-coupons
description: Stripe Post Coupons
hints:
readOnly: false
destructive: false
idempotent: false
call: coupons-coupons-2.postcoupons
with:
body: tools.body
outputParameters:
- type: object
mapping: $.
- name: stripe-delete-coupons-coupon
description: Stripe Delete Coupons Coupon
hints:
readOnly: false
destructive: true
idempotent: true
call: coupons-coupons-2.deletecouponscoupon
with:
coupon: tools.coupon
body: tools.body
outputParameters:
- type: object
mapping: $.
- name: stripe-get-coupons-coupon
description: Stripe Get Coupons Coupon
hints:
readOnly: true
destructive: false
idempotent: true
call: coupons-coupons-2.getcouponscoupon
with:
coupon: tools.coupon
expand: tools.expand
body: tools.body
outputParameters:
- type: object
mapping: $.
- name: stripe-post-coupons-coupon
description: Stripe Post Coupons Coupon
hints:
readOnly: false
destructive: false
idempotent: false
call: coupons-coupons-2.postcouponscoupon
with:
coupon: tools.coupon
body: tools.body
outputParameters:
- type: object
mapping: $.