Marqeta · Capability

Core API — ProgramFunding

Core API — ProgramFunding. 2 operations. Lead operation: List program fundings. Self-contained Naftiko capability covering one Marqeta business surface.

Run with Naftiko MarqetaProgramFunding

What You Can Do

GET
Getprogramfundings — List program fundings
/v1/admin/programs/funding
GET
Getprogramfundingsbyshortcode — List program fundings
/v1/programs/funding

MCP Tools

list-program-fundings

List program fundings

read-only idempotent
list-program-fundings-2

List program fundings

read-only idempotent

Capability Spec

core-programfunding.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Core API — ProgramFunding
  description: 'Core API — ProgramFunding. 2 operations. Lead operation: List program fundings. Self-contained Naftiko capability
    covering one Marqeta business surface.'
  tags:
  - Marqeta
  - ProgramFunding
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    MARQETA_API_KEY: MARQETA_API_KEY
capability:
  consumes:
  - type: http
    namespace: core-programfunding
    baseUri: ''
    description: Core API — ProgramFunding business capability. Self-contained, no shared references.
    resources:
    - name: admin-programs-funding
      path: /admin/programs/funding
      operations:
      - name: getprogramfundings
        method: GET
        description: List program fundings
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: count
          in: query
          type: integer
          description: Number of program funding resources to retrieve.
        - name: start_index
          in: query
          type: integer
          description: Sort order index of the first resource in the returned array.
        - name: start_date
          in: query
          type: string
          description: Start date for filtering program funding entries.
        - name: end_date
          in: query
          type: string
          description: End date for filtering program funding entries.
        - name: short_code
          in: query
          type: string
          description: Short code for filtering program funding entries.
    - name: programs-funding
      path: /programs/funding
      operations:
      - name: getprogramfundingsbyshortcode
        method: GET
        description: List program fundings
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: count
          in: query
          type: integer
          description: Number of program funding resources to retrieve.
        - name: start_index
          in: query
          type: integer
          description: Sort order index of the first resource in the returned array.
        - name: start_date
          in: query
          type: string
          description: Start date for filtering program funding entries.
        - name: end_date
          in: query
          type: string
          description: End date for filtering program funding entries.
    authentication:
      type: basic
      username: '{{env.MARQETA_USER}}'
      password: '{{env.MARQETA_PASS}}'
  exposes:
  - type: rest
    namespace: core-programfunding-rest
    port: 8080
    description: REST adapter for Core API — ProgramFunding. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/admin/programs/funding
      name: admin-programs-funding
      description: REST surface for admin-programs-funding.
      operations:
      - method: GET
        name: getprogramfundings
        description: List program fundings
        call: core-programfunding.getprogramfundings
        with:
          count: rest.count
          start_index: rest.start_index
          start_date: rest.start_date
          end_date: rest.end_date
          short_code: rest.short_code
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/programs/funding
      name: programs-funding
      description: REST surface for programs-funding.
      operations:
      - method: GET
        name: getprogramfundingsbyshortcode
        description: List program fundings
        call: core-programfunding.getprogramfundingsbyshortcode
        with:
          count: rest.count
          start_index: rest.start_index
          start_date: rest.start_date
          end_date: rest.end_date
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: core-programfunding-mcp
    port: 9090
    transport: http
    description: MCP adapter for Core API — ProgramFunding. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: list-program-fundings
      description: List program fundings
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: core-programfunding.getprogramfundings
      with:
        count: tools.count
        start_index: tools.start_index
        start_date: tools.start_date
        end_date: tools.end_date
        short_code: tools.short_code
      outputParameters:
      - type: object
        mapping: $.
    - name: list-program-fundings-2
      description: List program fundings
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: core-programfunding.getprogramfundingsbyshortcode
      with:
        count: tools.count
        start_index: tools.start_index
        start_date: tools.start_date
        end_date: tools.end_date
      outputParameters:
      - type: object
        mapping: $.