Stripe · Capability

Stripe Payment Method API — Payment Method Domains

Stripe Payment Method API — Payment Method Domains. 5 operations. Lead operation: Payment Method Domains. Self-contained Naftiko capability covering one Stripe business surface.

Run with Naftiko StripePayment Method Domains

What You Can Do

GET
Getpaymentmethoddomains

Lists the details of existing payment method domains.

/v1/v1/payment-method-domains
POST
Postpaymentmethoddomains

Creates a payment method domain.

/v1/v1/payment-method-domains
GET
Getpaymentmethoddomainspaymentmethoddomain

Retrieves the details of an existing payment method domain.

/v1/v1/payment-method-domains/{payment-method-domain}
POST
Postpaymentmethoddomainspaymentmethoddomain

Updates an existing payment method domain.

/v1/v1/payment-method-domains/{payment-method-domain}
POST
Postpaymentmethoddomainspaymentmethoddomainvalidate

Some payment methods such as Apple Pay require additional steps to verify a domain. If the requirements weren’t satisfied when the domain was created, the payment method will be inactive on the domain.

/v1/v1/payment-method-domains/{payment-method-domain}/validate

MCP Tools

p-lists-details-existing-payment-method

Lists the details of existing payment method domains.

read-only idempotent
p-creates-payment-method-domain-p

Creates a payment method domain.

p-retrieves-details-existing-payment-method

Retrieves the details of an existing payment method domain.

read-only idempotent
p-updates-existing-payment-method-domain

Updates an existing payment method domain.

p-some-payment-methods-such-apple

Some payment methods such as Apple Pay require additional steps to verify a domain. If the requirements weren’t satisfied when the domain was created, the payment method will be inactive on the domain.

Capability Spec

payment-method-payment-method-domains.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Stripe Payment Method API — Payment Method Domains
  description: 'Stripe Payment Method API — Payment Method Domains. 5 operations. Lead operation: Payment Method Domains.
    Self-contained Naftiko capability covering one Stripe business surface.'
  tags:
  - Stripe
  - Payment Method Domains
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    STRIPE_API_KEY: STRIPE_API_KEY
capability:
  consumes:
  - type: http
    namespace: payment-method-payment-method-domains
    baseUri: https://api.stripe.com
    description: Stripe Payment Method API — Payment Method Domains business capability. Self-contained, no shared references.
    resources:
    - name: v1-payment_method_domains
      path: /v1/payment_method_domains
      operations:
      - name: getpaymentmethoddomains
        method: GET
        description: <p>Lists the details of existing payment method domains.</p>
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: domain_name
          in: query
          type: string
          description: The domain name that this payment method domain object represents.
        - name: enabled
          in: query
          type: boolean
          description: Whether this payment method domain is enabled. If the domain is not enabled, payment methods will not
            appear in Elements
        - 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: postpaymentmethoddomains
        method: POST
        description: <p>Creates a payment method domain.</p>
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: v1-payment_method_domains-payment_method_domain
      path: /v1/payment_method_domains/{payment_method_domain}
      operations:
      - name: getpaymentmethoddomainspaymentmethoddomain
        method: GET
        description: <p>Retrieves the details of an existing payment method domain.</p>
        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: payment_method_domain
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
      - name: postpaymentmethoddomainspaymentmethoddomain
        method: POST
        description: <p>Updates an existing payment method domain.</p>
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: payment_method_domain
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: v1-payment_method_domains-payment_method_domain-validate
      path: /v1/payment_method_domains/{payment_method_domain}/validate
      operations:
      - name: postpaymentmethoddomainspaymentmethoddomainvalidate
        method: POST
        description: <p>Some payment methods such as Apple Pay require additional steps to verify a domain. If the requirements
          weren’t satisfied when the domain was created, the payment method will be inactive on the domain.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: payment_method_domain
          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: payment-method-payment-method-domains-rest
    port: 8080
    description: REST adapter for Stripe Payment Method API — Payment Method Domains. One Spectral-compliant resource per
      consumed operation, prefixed with /v1.
    resources:
    - path: /v1/v1/payment-method-domains
      name: v1-payment-method-domains
      description: REST surface for v1-payment_method_domains.
      operations:
      - method: GET
        name: getpaymentmethoddomains
        description: <p>Lists the details of existing payment method domains.</p>
        call: payment-method-payment-method-domains.getpaymentmethoddomains
        with:
          domain_name: rest.domain_name
          enabled: rest.enabled
          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: postpaymentmethoddomains
        description: <p>Creates a payment method domain.</p>
        call: payment-method-payment-method-domains.postpaymentmethoddomains
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/payment-method-domains/{payment-method-domain}
      name: v1-payment-method-domains-payment-method-domain
      description: REST surface for v1-payment_method_domains-payment_method_domain.
      operations:
      - method: GET
        name: getpaymentmethoddomainspaymentmethoddomain
        description: <p>Retrieves the details of an existing payment method domain.</p>
        call: payment-method-payment-method-domains.getpaymentmethoddomainspaymentmethoddomain
        with:
          expand: rest.expand
          payment_method_domain: rest.payment_method_domain
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: postpaymentmethoddomainspaymentmethoddomain
        description: <p>Updates an existing payment method domain.</p>
        call: payment-method-payment-method-domains.postpaymentmethoddomainspaymentmethoddomain
        with:
          payment_method_domain: rest.payment_method_domain
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/payment-method-domains/{payment-method-domain}/validate
      name: v1-payment-method-domains-payment-method-domain-validate
      description: REST surface for v1-payment_method_domains-payment_method_domain-validate.
      operations:
      - method: POST
        name: postpaymentmethoddomainspaymentmethoddomainvalidate
        description: <p>Some payment methods such as Apple Pay require additional steps to verify a domain. If the requirements
          weren’t satisfied when the domain was created, the payment method will be inactive on the domain.
        call: payment-method-payment-method-domains.postpaymentmethoddomainspaymentmethoddomainvalidate
        with:
          payment_method_domain: rest.payment_method_domain
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: payment-method-payment-method-domains-mcp
    port: 9090
    transport: http
    description: MCP adapter for Stripe Payment Method API — Payment Method Domains. One tool per consumed operation, routed
      inline through this capability's consumes block.
    tools:
    - name: p-lists-details-existing-payment-method
      description: <p>Lists the details of existing payment method domains.</p>
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: payment-method-payment-method-domains.getpaymentmethoddomains
      with:
        domain_name: tools.domain_name
        enabled: tools.enabled
        ending_before: tools.ending_before
        expand: tools.expand
        limit: tools.limit
        starting_after: tools.starting_after
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: p-creates-payment-method-domain-p
      description: <p>Creates a payment method domain.</p>
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: payment-method-payment-method-domains.postpaymentmethoddomains
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: p-retrieves-details-existing-payment-method
      description: <p>Retrieves the details of an existing payment method domain.</p>
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: payment-method-payment-method-domains.getpaymentmethoddomainspaymentmethoddomain
      with:
        expand: tools.expand
        payment_method_domain: tools.payment_method_domain
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: p-updates-existing-payment-method-domain
      description: <p>Updates an existing payment method domain.</p>
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: payment-method-payment-method-domains.postpaymentmethoddomainspaymentmethoddomain
      with:
        payment_method_domain: tools.payment_method_domain
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: p-some-payment-methods-such-apple
      description: <p>Some payment methods such as Apple Pay require additional steps to verify a domain. If the requirements
        weren’t satisfied when the domain was created, the payment method will be inactive on the domain.
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: payment-method-payment-method-domains.postpaymentmethoddomainspaymentmethoddomainvalidate
      with:
        payment_method_domain: tools.payment_method_domain
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.