Stripe · Capability

Stripe Billing API — Post

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

Run with Naftiko StripePost

What You Can Do

POST
Postbillingportalconfigurations — Stripe Post Billing Portal Configurations
/v1/v1/billing-portal/configurations
POST
Postbillingportalconfigurationsconfiguration — Stripe Post Billing Portal Configurations Configuration
/v1/v1/billing-portal/configurations/{configuration}
POST
Postbillingportalsessions — Stripe Post Billing Portal Sessions
/v1/v1/billing-portal/sessions

MCP Tools

stripe-post-billing-portal-configurations

Stripe Post Billing Portal Configurations

stripe-post-billing-portal-configurations-2

Stripe Post Billing Portal Configurations Configuration

stripe-post-billing-portal-sessions

Stripe Post Billing Portal Sessions

Capability Spec

billing-post.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Stripe Billing API — Post
  description: 'Stripe Billing API — Post. 3 operations. Lead operation: Stripe Post   Billing Portal Configurations. Self-contained
    Naftiko capability covering one Stripe business surface.'
  tags:
  - Stripe
  - Post
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    STRIPE_API_KEY: STRIPE_API_KEY
capability:
  consumes:
  - type: http
    namespace: billing-post
    baseUri: https://api.stripe.com
    description: Stripe Billing API — Post business capability. Self-contained, no shared references.
    resources:
    - name: v1-billing_portal-configurations
      path: /v1/billing_portal/configurations
      operations:
      - 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: 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
    - name: v1-billing_portal-sessions
      path: /v1/billing_portal/sessions
      operations:
      - name: postbillingportalsessions
        method: POST
        description: Stripe Post   Billing Portal Sessions
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: bearer
      token: '{{env.STRIPE_API_KEY}}'
  exposes:
  - type: rest
    namespace: billing-post-rest
    port: 8080
    description: REST adapter for Stripe Billing API — Post. 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: POST
        name: postbillingportalconfigurations
        description: Stripe Post   Billing Portal Configurations
        call: billing-post.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: POST
        name: postbillingportalconfigurationsconfiguration
        description: Stripe Post   Billing Portal Configurations Configuration
        call: billing-post.postbillingportalconfigurationsconfiguration
        with:
          configuration: rest.configuration
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/billing-portal/sessions
      name: v1-billing-portal-sessions
      description: REST surface for v1-billing_portal-sessions.
      operations:
      - method: POST
        name: postbillingportalsessions
        description: Stripe Post   Billing Portal Sessions
        call: billing-post.postbillingportalsessions
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: billing-post-mcp
    port: 9090
    transport: http
    description: MCP adapter for Stripe Billing API — Post. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: stripe-post-billing-portal-configurations
      description: Stripe Post   Billing Portal Configurations
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: billing-post.postbillingportalconfigurations
      with:
        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-post.postbillingportalconfigurationsconfiguration
      with:
        configuration: tools.configuration
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: stripe-post-billing-portal-sessions
      description: Stripe Post   Billing Portal Sessions
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: billing-post.postbillingportalsessions
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.