naftiko: 1.0.0-alpha2 info: label: Stripe Subscription API — Subscription Schedules description: 'Stripe Subscription API — Subscription Schedules. 6 operations. Lead operation: Subscription Schedules. Self-contained Naftiko capability covering one Stripe business surface.' tags: - Stripe - Subscription Schedules created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: STRIPE_API_KEY: STRIPE_API_KEY capability: consumes: - type: http namespace: subscription-subscription-schedules baseUri: https://api.stripe.com description: Stripe Subscription API — Subscription Schedules business capability. Self-contained, no shared references. resources: - name: v1-subscription_schedules path: /v1/subscription_schedules operations: - name: getsubscriptionschedules method: GET description:
Retrieves the list of your subscription schedules.
outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: canceled_at in: query type: string description: Only return subscription schedules that were created canceled the given date interval. - name: completed_at in: query type: string description: Only return subscription schedules that completed during the given date interval. - name: created in: query type: string description: Only return subscription schedules that were created during the given date interval. - name: customer in: query type: string description: Only return subscription schedules for the given customer. - 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: released_at in: query type: string description: Only return subscription schedules that were released during the given date interval. - name: scheduled in: query type: boolean description: Only return subscription schedules that have not started yet. - 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: postsubscriptionschedules method: POST description:Creates a new subscription schedule object. Each customer can have up to 500 active or scheduled subscriptions.
outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: v1-subscription_schedules-schedule path: /v1/subscription_schedules/{schedule} operations: - name: getsubscriptionschedulesschedule method: GET description:Retrieves the details of an existing subscription schedule. You only need to supply the unique subscription schedule identifier that was returned upon subscription schedule creation.
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: schedule in: path type: string required: true - name: body in: body type: object description: Request body (JSON). required: false - name: postsubscriptionschedulesschedule method: POST description:Updates an existing subscription schedule.
outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: schedule in: path type: string required: true - name: body in: body type: object description: Request body (JSON). required: false - name: v1-subscription_schedules-schedule-cancel path: /v1/subscription_schedules/{schedule}/cancel operations: - name: postsubscriptionschedulesschedulecancel method: POST description:Cancels a subscription schedule and its associated subscription immediately (if the subscription schedule
has an active subscription). A subscription schedule can only be canceled if its status is Releases the subscription schedule immediately, which will stop scheduling of its phases, but leave
any existing subscription in place. A schedule can only be released if its status is Retrieves the list of your subscription schedules. Creates a new subscription schedule object. Each customer can have up to 500 active or scheduled subscriptions. Retrieves the details of an existing subscription schedule. You only need to supply the unique subscription
schedule identifier that was returned upon subscription schedule creation. Updates an existing subscription schedule. Cancels a subscription schedule and its associated subscription immediately (if the subscription schedule
has an active subscription). A subscription schedule can only be canceled if its status is Releases the subscription schedule immediately, which will stop scheduling of its phases, but leave
any existing subscription in place. A schedule can only be released if its status is Retrieves the list of your subscription schedules. Creates a new subscription schedule object. Each customer can have up to 500 active or scheduled subscriptions. Retrieves the details of an existing subscription schedule. You only need to supply the unique subscription
schedule identifier that was returned upon subscription schedule creation. Updates an existing subscription schedule. Cancels a subscription schedule and its associated subscription immediately (if the subscription schedule
has an active subscription). A subscription schedule can only be canceled if its status is Releases the subscription schedule immediately, which will stop scheduling of its phases, but leave
any existing subscription in place. A schedule can only be released if its status is not_started
or active
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: schedule
in: path
type: string
required: true
- name: body
in: body
type: object
description: Request body (JSON).
required: false
- name: v1-subscription_schedules-schedule-release
path: /v1/subscription_schedules/{schedule}/release
operations:
- name: postsubscriptionschedulesschedulerelease
method: POST
description: 'not_started or
active. If '
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: schedule
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: subscription-subscription-schedules-rest
port: 8080
description: REST adapter for Stripe Subscription API — Subscription Schedules. One Spectral-compliant resource per consumed
operation, prefixed with /v1.
resources:
- path: /v1/v1/subscription-schedules
name: v1-subscription-schedules
description: REST surface for v1-subscription_schedules.
operations:
- method: GET
name: getsubscriptionschedules
description: not_started
or active
call: subscription-subscription-schedules.postsubscriptionschedulesschedulecancel
with:
schedule: rest.schedule
body: rest.body
outputParameters:
- type: object
mapping: $.
- path: /v1/v1/subscription-schedules/{schedule}/release
name: v1-subscription-schedules-schedule-release
description: REST surface for v1-subscription_schedules-schedule-release.
operations:
- method: POST
name: postsubscriptionschedulesschedulerelease
description: 'not_started or
active. If '
call: subscription-subscription-schedules.postsubscriptionschedulesschedulerelease
with:
schedule: rest.schedule
body: rest.body
outputParameters:
- type: object
mapping: $.
- type: mcp
namespace: subscription-subscription-schedules-mcp
port: 9090
transport: http
description: MCP adapter for Stripe Subscription API — Subscription Schedules. One tool per consumed operation, routed
inline through this capability's consumes block.
tools:
- name: p-retrieves-list-your-subscription-schedules
description: not_started
or active
hints:
readOnly: false
destructive: false
idempotent: false
call: subscription-subscription-schedules.postsubscriptionschedulesschedulecancel
with:
schedule: tools.schedule
body: tools.body
outputParameters:
- type: object
mapping: $.
- name: p-releases-subscription-schedule-immediately-which
description: 'not_started or active.
If '
hints:
readOnly: false
destructive: false
idempotent: false
call: subscription-subscription-schedules.postsubscriptionschedulesschedulerelease
with:
schedule: tools.schedule
body: tools.body
outputParameters:
- type: object
mapping: $.