Stripe · Capability

Stripe Payment Links API — Payments

Stripe Payment Links API — Payments. 5 operations. Lead operation: Stripe Get Payment Links. Self-contained Naftiko capability covering one Stripe business surface.

Run with Naftiko StripePayments

What You Can Do

GET
Getpaymentlinks — Stripe Get Payment Links
/v1/v1/payment-links
POST
Postpaymentlinks — Stripe Post Payment Links
/v1/v1/payment-links
GET
Getpaymentlinkspaymentlink — Stripe Get Payment Links
/v1/v1/payment-links/{payment-link}
POST
Postpaymentlinkspaymentlink — Stripe Post Payment Links
/v1/v1/payment-links/{payment-link}
GET
Getpaymentlinkspaymentlinklineitems — Stripe Get Payment Links Line Items
/v1/v1/payment-links/{payment-link}/line-items

MCP Tools

stripe-get-payment-links

Stripe Get Payment Links

read-only idempotent
stripe-post-payment-links

Stripe Post Payment Links

stripe-get-payment-links-2

Stripe Get Payment Links

read-only idempotent
stripe-post-payment-links-2

Stripe Post Payment Links

stripe-get-payment-links-line

Stripe Get Payment Links Line Items

read-only idempotent

Capability Spec

payment-links-payments.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Stripe Payment Links API — Payments
  description: 'Stripe Payment Links API — Payments. 5 operations. Lead operation: Stripe Get   Payment Links. Self-contained
    Naftiko capability covering one Stripe business surface.'
  tags:
  - Stripe
  - Payments
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    STRIPE_API_KEY: STRIPE_API_KEY
capability:
  consumes:
  - type: http
    namespace: payment-links-payments
    baseUri: https://api.stripe.com
    description: Stripe Payment Links API — Payments business capability. Self-contained, no shared references.
    resources:
    - name: v1-payment_links
      path: /v1/payment_links
      operations:
      - name: getpaymentlinks
        method: GET
        description: Stripe Get   Payment Links
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: active
          in: query
          type: boolean
          description: Only return payment links that are active or inactive (e.g., pass `false` to list all inactive payment
            links).
        - 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: postpaymentlinks
        method: POST
        description: Stripe Post   Payment Links
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: v1-payment_links-payment_link
      path: /v1/payment_links/{payment_link}
      operations:
      - name: getpaymentlinkspaymentlink
        method: GET
        description: Stripe Get   Payment Links
        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_link
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
      - name: postpaymentlinkspaymentlink
        method: POST
        description: Stripe Post   Payment Links
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: payment_link
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: v1-payment_links-payment_link-line_items
      path: /v1/payment_links/{payment_link}/line_items
      operations:
      - name: getpaymentlinkspaymentlinklineitems
        method: GET
        description: Stripe Get   Payment Links Line Items
        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: payment_link
          in: path
          type: string
          required: true
        - 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
    authentication:
      type: bearer
      token: '{{env.STRIPE_API_KEY}}'
  exposes:
  - type: rest
    namespace: payment-links-payments-rest
    port: 8080
    description: REST adapter for Stripe Payment Links API — Payments. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/v1/payment-links
      name: v1-payment-links
      description: REST surface for v1-payment_links.
      operations:
      - method: GET
        name: getpaymentlinks
        description: Stripe Get   Payment Links
        call: payment-links-payments.getpaymentlinks
        with:
          active: rest.active
          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: postpaymentlinks
        description: Stripe Post   Payment Links
        call: payment-links-payments.postpaymentlinks
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/payment-links/{payment-link}
      name: v1-payment-links-payment-link
      description: REST surface for v1-payment_links-payment_link.
      operations:
      - method: GET
        name: getpaymentlinkspaymentlink
        description: Stripe Get   Payment Links
        call: payment-links-payments.getpaymentlinkspaymentlink
        with:
          expand: rest.expand
          payment_link: rest.payment_link
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: postpaymentlinkspaymentlink
        description: Stripe Post   Payment Links
        call: payment-links-payments.postpaymentlinkspaymentlink
        with:
          payment_link: rest.payment_link
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/payment-links/{payment-link}/line-items
      name: v1-payment-links-payment-link-line-items
      description: REST surface for v1-payment_links-payment_link-line_items.
      operations:
      - method: GET
        name: getpaymentlinkspaymentlinklineitems
        description: Stripe Get   Payment Links Line Items
        call: payment-links-payments.getpaymentlinkspaymentlinklineitems
        with:
          ending_before: rest.ending_before
          expand: rest.expand
          limit: rest.limit
          payment_link: rest.payment_link
          starting_after: rest.starting_after
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: payment-links-payments-mcp
    port: 9090
    transport: http
    description: MCP adapter for Stripe Payment Links API — Payments. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: stripe-get-payment-links
      description: Stripe Get   Payment Links
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: payment-links-payments.getpaymentlinks
      with:
        active: tools.active
        ending_before: tools.ending_before
        expand: tools.expand
        limit: tools.limit
        starting_after: tools.starting_after
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: stripe-post-payment-links
      description: Stripe Post   Payment Links
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: payment-links-payments.postpaymentlinks
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: stripe-get-payment-links-2
      description: Stripe Get   Payment Links
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: payment-links-payments.getpaymentlinkspaymentlink
      with:
        expand: tools.expand
        payment_link: tools.payment_link
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: stripe-post-payment-links-2
      description: Stripe Post   Payment Links
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: payment-links-payments.postpaymentlinkspaymentlink
      with:
        payment_link: tools.payment_link
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: stripe-get-payment-links-line
      description: Stripe Get   Payment Links Line Items
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: payment-links-payments.getpaymentlinkspaymentlinklineitems
      with:
        ending_before: tools.ending_before
        expand: tools.expand
        limit: tools.limit
        payment_link: tools.payment_link
        starting_after: tools.starting_after
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.