Stripe · Capability

Stripe Billing API — Configurations

Stripe Billing API — Configurations. 4 operations. Lead operation: Stripe Get Billing Portal Configurations. Self-contained Naftiko capability covering one Stripe business surface.

Run with Naftiko StripeConfigurations

What You Can Do

GET
Getbillingportalconfigurations — Stripe Get Billing Portal Configurations
/v1/v1/billing-portal/configurations
POST
Postbillingportalconfigurations — Stripe Post Billing Portal Configurations
/v1/v1/billing-portal/configurations
GET
Getbillingportalconfigurationsconfiguration — Stripe Get Billing Portal Configurations Configuration
/v1/v1/billing-portal/configurations/{configuration}
POST
Postbillingportalconfigurationsconfiguration — Stripe Post Billing Portal Configurations Configuration
/v1/v1/billing-portal/configurations/{configuration}

MCP Tools

stripe-get-billing-portal-configurations

Stripe Get Billing Portal Configurations

read-only idempotent
stripe-post-billing-portal-configurations

Stripe Post Billing Portal Configurations

stripe-get-billing-portal-configurations-2

Stripe Get Billing Portal Configurations Configuration

read-only idempotent
stripe-post-billing-portal-configurations-2

Stripe Post Billing Portal Configurations Configuration

Capability Spec

billing-configurations.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Stripe Billing API — Configurations
  description: 'Stripe Billing API — Configurations. 4 operations. Lead operation: Stripe Get   Billing Portal Configurations.
    Self-contained Naftiko capability covering one Stripe business surface.'
  tags:
  - Stripe
  - Configurations
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    STRIPE_API_KEY: STRIPE_API_KEY
capability:
  consumes:
  - type: http
    namespace: billing-configurations
    baseUri: https://api.stripe.com
    description: Stripe Billing API — Configurations business capability. Self-contained, no shared references.
    resources:
    - name: v1-billing_portal-configurations
      path: /v1/billing_portal/configurations
      operations:
      - name: getbillingportalconfigurations
        method: GET
        description: Stripe Get   Billing Portal Configurations
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: active
          in: query
          type: boolean
          description: Only return configurations that are active or inactive (e.g., pass `true` to only list active configurations).
        - 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: is_default
          in: query
          type: boolean
          description: Only return the default or non-default configurations (e.g., pass `true` to only list the default configuration).
        - 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: postbillingportalconfigurations
        method: POST
        description: Stripe Post   Billing Portal Configurations
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: v1-billing_portal-configurations-configuration
      path: /v1/billing_portal/configurations/{configuration}
      operations:
      - name: getbillingportalconfigurationsconfiguration
        method: GET
        description: Stripe Get   Billing Portal Configurations Configuration
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: configuration
          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: postbillingportalconfigurationsconfiguration
        method: POST
        description: Stripe Post   Billing Portal Configurations Configuration
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: configuration
          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: billing-configurations-rest
    port: 8080
    description: REST adapter for Stripe Billing API — Configurations. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/v1/billing-portal/configurations
      name: v1-billing-portal-configurations
      description: REST surface for v1-billing_portal-configurations.
      operations:
      - method: GET
        name: getbillingportalconfigurations
        description: Stripe Get   Billing Portal Configurations
        call: billing-configurations.getbillingportalconfigurations
        with:
          active: rest.active
          ending_before: rest.ending_before
          expand: rest.expand
          is_default: rest.is_default
          limit: rest.limit
          starting_after: rest.starting_after
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: postbillingportalconfigurations
        description: Stripe Post   Billing Portal Configurations
        call: billing-configurations.postbillingportalconfigurations
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/billing-portal/configurations/{configuration}
      name: v1-billing-portal-configurations-configuration
      description: REST surface for v1-billing_portal-configurations-configuration.
      operations:
      - method: GET
        name: getbillingportalconfigurationsconfiguration
        description: Stripe Get   Billing Portal Configurations Configuration
        call: billing-configurations.getbillingportalconfigurationsconfiguration
        with:
          configuration: rest.configuration
          expand: rest.expand
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: postbillingportalconfigurationsconfiguration
        description: Stripe Post   Billing Portal Configurations Configuration
        call: billing-configurations.postbillingportalconfigurationsconfiguration
        with:
          configuration: rest.configuration
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: billing-configurations-mcp
    port: 9090
    transport: http
    description: MCP adapter for Stripe Billing API — Configurations. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: stripe-get-billing-portal-configurations
      description: Stripe Get   Billing Portal Configurations
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: billing-configurations.getbillingportalconfigurations
      with:
        active: tools.active
        ending_before: tools.ending_before
        expand: tools.expand
        is_default: tools.is_default
        limit: tools.limit
        starting_after: tools.starting_after
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: stripe-post-billing-portal-configurations
      description: Stripe Post   Billing Portal Configurations
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: billing-configurations.postbillingportalconfigurations
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: stripe-get-billing-portal-configurations-2
      description: Stripe Get   Billing Portal Configurations Configuration
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: billing-configurations.getbillingportalconfigurationsconfiguration
      with:
        configuration: tools.configuration
        expand: tools.expand
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: stripe-post-billing-portal-configurations-2
      description: Stripe Post   Billing Portal Configurations Configuration
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: billing-configurations.postbillingportalconfigurationsconfiguration
      with:
        configuration: tools.configuration
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.