Stripe · Capability

Stripe Shipping Rates API — Shipping Rates

Stripe Shipping Rates API — Shipping Rates. 4 operations. Lead operation: Shipping Rates. Self-contained Naftiko capability covering one Stripe business surface.

Run with Naftiko StripeShipping Rates

What You Can Do

GET
Getshippingrates

Returns a list of your shipping rates.

/v1/v1/shipping-rates
POST
Postshippingrates

Creates a new shipping rate object.

/v1/v1/shipping-rates
GET
Getshippingratesshippingratetoken

Returns the shipping rate object with the given ID.

/v1/v1/shipping-rates/{shipping-rate-token}
POST
Postshippingratesshippingratetoken

Updates an existing shipping rate object.

/v1/v1/shipping-rates/{shipping-rate-token}

MCP Tools

p-returns-list-your-shipping-rates

Returns a list of your shipping rates.

read-only idempotent
p-creates-new-shipping-rate-object

Creates a new shipping rate object.

p-returns-shipping-rate-object-given

Returns the shipping rate object with the given ID.

read-only idempotent
p-updates-existing-shipping-rate-object

Updates an existing shipping rate object.

Capability Spec

shipping-rates-shipping-rates.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Stripe Shipping Rates API — Shipping Rates
  description: 'Stripe Shipping Rates API — Shipping Rates. 4 operations. Lead operation: Shipping Rates. Self-contained Naftiko
    capability covering one Stripe business surface.'
  tags:
  - Stripe
  - Shipping Rates
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    STRIPE_API_KEY: STRIPE_API_KEY
capability:
  consumes:
  - type: http
    namespace: shipping-rates-shipping-rates
    baseUri: https://api.stripe.com
    description: Stripe Shipping Rates API — Shipping Rates business capability. Self-contained, no shared references.
    resources:
    - name: v1-shipping_rates
      path: /v1/shipping_rates
      operations:
      - name: getshippingrates
        method: GET
        description: <p>Returns a list of your shipping rates.</p>
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: active
          in: query
          type: boolean
          description: Only return shipping rates that are active or inactive.
        - name: created
          in: query
          type: string
          description: 'A filter on the list, based on the object `created` field. The value can be a string with an integer
            Unix timestamp, or it can be a dictionary with a number of '
        - name: currency
          in: query
          type: string
          description: Only return shipping rates for the given currency.
        - 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: postshippingrates
        method: POST
        description: <p>Creates a new shipping rate object.</p>
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: v1-shipping_rates-shipping_rate_token
      path: /v1/shipping_rates/{shipping_rate_token}
      operations:
      - name: getshippingratesshippingratetoken
        method: GET
        description: <p>Returns the shipping rate object with the given ID.</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: shipping_rate_token
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
      - name: postshippingratesshippingratetoken
        method: POST
        description: <p>Updates an existing shipping rate object.</p>
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: shipping_rate_token
          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: shipping-rates-shipping-rates-rest
    port: 8080
    description: REST adapter for Stripe Shipping Rates API — Shipping Rates. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/v1/shipping-rates
      name: v1-shipping-rates
      description: REST surface for v1-shipping_rates.
      operations:
      - method: GET
        name: getshippingrates
        description: <p>Returns a list of your shipping rates.</p>
        call: shipping-rates-shipping-rates.getshippingrates
        with:
          active: rest.active
          created: rest.created
          currency: rest.currency
          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: postshippingrates
        description: <p>Creates a new shipping rate object.</p>
        call: shipping-rates-shipping-rates.postshippingrates
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/shipping-rates/{shipping-rate-token}
      name: v1-shipping-rates-shipping-rate-token
      description: REST surface for v1-shipping_rates-shipping_rate_token.
      operations:
      - method: GET
        name: getshippingratesshippingratetoken
        description: <p>Returns the shipping rate object with the given ID.</p>
        call: shipping-rates-shipping-rates.getshippingratesshippingratetoken
        with:
          expand: rest.expand
          shipping_rate_token: rest.shipping_rate_token
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: postshippingratesshippingratetoken
        description: <p>Updates an existing shipping rate object.</p>
        call: shipping-rates-shipping-rates.postshippingratesshippingratetoken
        with:
          shipping_rate_token: rest.shipping_rate_token
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: shipping-rates-shipping-rates-mcp
    port: 9090
    transport: http
    description: MCP adapter for Stripe Shipping Rates API — Shipping Rates. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: p-returns-list-your-shipping-rates
      description: <p>Returns a list of your shipping rates.</p>
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: shipping-rates-shipping-rates.getshippingrates
      with:
        active: tools.active
        created: tools.created
        currency: tools.currency
        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-new-shipping-rate-object
      description: <p>Creates a new shipping rate object.</p>
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: shipping-rates-shipping-rates.postshippingrates
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: p-returns-shipping-rate-object-given
      description: <p>Returns the shipping rate object with the given ID.</p>
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: shipping-rates-shipping-rates.getshippingratesshippingratetoken
      with:
        expand: tools.expand
        shipping_rate_token: tools.shipping_rate_token
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: p-updates-existing-shipping-rate-object
      description: <p>Updates an existing shipping rate object.</p>
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: shipping-rates-shipping-rates.postshippingratesshippingratetoken
      with:
        shipping_rate_token: tools.shipping_rate_token
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.