Stripe · Capability

Stripe Country API — Country Specs

Stripe Country API — Country Specs. 2 operations. Lead operation: Country Specs. Self-contained Naftiko capability covering one Stripe business surface.

Run with Naftiko StripeCountry Specs

What You Can Do

GET
Getcountryspecs

Lists all Country Spec objects available in the API.

/v1/v1/country-specs
GET
Getcountryspecscountry

Returns a Country Spec for a given Country code.

/v1/v1/country-specs/{country}

MCP Tools

p-lists-all-country-spec-objects

Lists all Country Spec objects available in the API.

read-only idempotent
p-returns-country-spec-given-country

Returns a Country Spec for a given Country code.

read-only idempotent

Capability Spec

country-country-specs.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Stripe Country API — Country Specs
  description: 'Stripe Country API — Country Specs. 2 operations. Lead operation: Country Specs. Self-contained Naftiko capability
    covering one Stripe business surface.'
  tags:
  - Stripe
  - Country Specs
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    STRIPE_API_KEY: STRIPE_API_KEY
capability:
  consumes:
  - type: http
    namespace: country-country-specs
    baseUri: https://api.stripe.com
    description: Stripe Country API — Country Specs business capability. Self-contained, no shared references.
    resources:
    - name: v1-country_specs
      path: /v1/country_specs
      operations:
      - name: getcountryspecs
        method: GET
        description: <p>Lists all Country Spec objects available in the API.</p>
        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: 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-country_specs-country
      path: /v1/country_specs/{country}
      operations:
      - name: getcountryspecscountry
        method: GET
        description: <p>Returns a Country Spec for a given Country code.</p>
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: country
          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
    authentication:
      type: bearer
      token: '{{env.STRIPE_API_KEY}}'
  exposes:
  - type: rest
    namespace: country-country-specs-rest
    port: 8080
    description: REST adapter for Stripe Country API — Country Specs. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/v1/country-specs
      name: v1-country-specs
      description: REST surface for v1-country_specs.
      operations:
      - method: GET
        name: getcountryspecs
        description: <p>Lists all Country Spec objects available in the API.</p>
        call: country-country-specs.getcountryspecs
        with:
          ending_before: rest.ending_before
          expand: rest.expand
          limit: rest.limit
          starting_after: rest.starting_after
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/country-specs/{country}
      name: v1-country-specs-country
      description: REST surface for v1-country_specs-country.
      operations:
      - method: GET
        name: getcountryspecscountry
        description: <p>Returns a Country Spec for a given Country code.</p>
        call: country-country-specs.getcountryspecscountry
        with:
          country: rest.country
          expand: rest.expand
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: country-country-specs-mcp
    port: 9090
    transport: http
    description: MCP adapter for Stripe Country API — Country Specs. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: p-lists-all-country-spec-objects
      description: <p>Lists all Country Spec objects available in the API.</p>
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: country-country-specs.getcountryspecs
      with:
        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-returns-country-spec-given-country
      description: <p>Returns a Country Spec for a given Country code.</p>
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: country-country-specs.getcountryspecscountry
      with:
        country: tools.country
        expand: tools.expand
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.