Stripe · Capability
Stripe Customers API — Payments
Stripe Customers API — Payments. 2 operations. Lead operation: Stripe Get Customers Customer Payment Methods. Self-contained Naftiko capability covering one Stripe business surface.
What You Can Do
GET
Getcustomerscustomerpaymentmethods
— Stripe Get Customers Customer Payment Methods
/v1/v1/customers/{customer}/payment-methods
GET
Getcustomerscustomerpaymentmethodspaymentmethod
— Stripe Get Customers Customer Payment Methods Payment Method
/v1/v1/customers/{customer}/payment-methods/{payment-method}
MCP Tools
stripe-get-customers-customer-payment
Stripe Get Customers Customer Payment Methods
read-only
idempotent
stripe-get-customers-customer-payment-2
Stripe Get Customers Customer Payment Methods Payment Method
read-only
idempotent
Capability Spec
naftiko: 1.0.0-alpha2
info:
label: Stripe Customers API — Payments
description: 'Stripe Customers API — Payments. 2 operations. Lead operation: Stripe Get Customers Customer Payment Methods.
Self-contained Naftiko capability covering one Stripe business surface.'
tags:
- Stripe
- Payments
created: '2026-05-19'
modified: '2026-05-19'
binds:
- namespace: env
keys:
STRIPE_API_KEY: STRIPE_API_KEY
capability:
consumes:
- type: http
namespace: customers-payments
baseUri: https://api.stripe.com
description: Stripe Customers API — Payments business capability. Self-contained, no shared references.
resources:
- name: v1-customers-customer-payment_methods
path: /v1/customers/{customer}/payment_methods
operations:
- name: getcustomerscustomerpaymentmethods
method: GET
description: Stripe Get Customers Customer Payment Methods
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: customer
in: path
type: string
required: true
- 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: type
in: query
type: string
description: An optional filter on the list, based on the object `type` field. Without the filter, the list includes
all current and future payment method types. If your int
- name: body
in: body
type: object
description: Request body (JSON).
required: false
- name: v1-customers-customer-payment_methods-payment_method
path: /v1/customers/{customer}/payment_methods/{payment_method}
operations:
- name: getcustomerscustomerpaymentmethodspaymentmethod
method: GET
description: Stripe Get Customers Customer Payment Methods Payment Method
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: customer
in: path
type: string
required: true
- name: expand
in: query
type: array
description: Specifies which fields in the response should be expanded.
- name: payment_method
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: customers-payments-rest
port: 8080
description: REST adapter for Stripe Customers API — Payments. One Spectral-compliant resource per consumed operation,
prefixed with /v1.
resources:
- path: /v1/v1/customers/{customer}/payment-methods
name: v1-customers-customer-payment-methods
description: REST surface for v1-customers-customer-payment_methods.
operations:
- method: GET
name: getcustomerscustomerpaymentmethods
description: Stripe Get Customers Customer Payment Methods
call: customers-payments.getcustomerscustomerpaymentmethods
with:
customer: rest.customer
ending_before: rest.ending_before
expand: rest.expand
limit: rest.limit
starting_after: rest.starting_after
type: rest.type
body: rest.body
outputParameters:
- type: object
mapping: $.
- path: /v1/v1/customers/{customer}/payment-methods/{payment-method}
name: v1-customers-customer-payment-methods-payment-method
description: REST surface for v1-customers-customer-payment_methods-payment_method.
operations:
- method: GET
name: getcustomerscustomerpaymentmethodspaymentmethod
description: Stripe Get Customers Customer Payment Methods Payment Method
call: customers-payments.getcustomerscustomerpaymentmethodspaymentmethod
with:
customer: rest.customer
expand: rest.expand
payment_method: rest.payment_method
body: rest.body
outputParameters:
- type: object
mapping: $.
- type: mcp
namespace: customers-payments-mcp
port: 9090
transport: http
description: MCP adapter for Stripe Customers API — Payments. One tool per consumed operation, routed inline through this
capability's consumes block.
tools:
- name: stripe-get-customers-customer-payment
description: Stripe Get Customers Customer Payment Methods
hints:
readOnly: true
destructive: false
idempotent: true
call: customers-payments.getcustomerscustomerpaymentmethods
with:
customer: tools.customer
ending_before: tools.ending_before
expand: tools.expand
limit: tools.limit
starting_after: tools.starting_after
type: tools.type
body: tools.body
outputParameters:
- type: object
mapping: $.
- name: stripe-get-customers-customer-payment-2
description: Stripe Get Customers Customer Payment Methods Payment Method
hints:
readOnly: true
destructive: false
idempotent: true
call: customers-payments.getcustomerscustomerpaymentmethodspaymentmethod
with:
customer: tools.customer
expand: tools.expand
payment_method: tools.payment_method
body: tools.body
outputParameters:
- type: object
mapping: $.