Marqeta · Capability

Core API — push to card

Core API — push to card. 6 operations. Lead operation: Lists all push-to-card disbursements. Self-contained Naftiko capability covering one Marqeta business surface.

Run with Naftiko Marqetapush to card

What You Can Do

GET
Getpushtocardsdisburse — Lists all push-to-card disbursements
/v1/pushtocards/disburse
POST
Postpushtocardsdisburse — Initiates a push-to-card money disbursement
/v1/pushtocards/disburse
GET
Getpushtocardsdisbursetoken — Returns a specific push-to-card disbursement
/v1/pushtocards/disburse/{token}
GET
Getpushtocardspaymentcard — Returns all push-to-card payment card details
/v1/pushtocards/paymentcard
POST
Postpushtocardspaymentcard — Adds an external card to which funds will be pushed
/v1/pushtocards/paymentcard
GET
Getpushtocardspaymentcardtoken — Returns a specific paymentcard object
/v1/pushtocards/paymentcard/{token}

MCP Tools

lists-all-push-card-disbursements

Lists all push-to-card disbursements

read-only idempotent
initiates-push-card-money-disbursement

Initiates a push-to-card money disbursement

returns-specific-push-card-disbursement

Returns a specific push-to-card disbursement

read-only idempotent
returns-all-push-card-payment

Returns all push-to-card payment card details

read-only idempotent
adds-external-card-which-funds

Adds an external card to which funds will be pushed

returns-specific-paymentcard-object

Returns a specific paymentcard object

read-only idempotent

Capability Spec

core-push-to-card.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Core API — push to card
  description: 'Core API — push to card. 6 operations. Lead operation: Lists all push-to-card disbursements. Self-contained
    Naftiko capability covering one Marqeta business surface.'
  tags:
  - Marqeta
  - push to card
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    MARQETA_API_KEY: MARQETA_API_KEY
capability:
  consumes:
  - type: http
    namespace: core-push-to-card
    baseUri: ''
    description: Core API — push to card business capability. Self-contained, no shared references.
    resources:
    - name: pushtocards-disburse
      path: /pushtocards/disburse
      operations:
      - name: getpushtocardsdisburse
        method: GET
        description: Lists all push-to-card disbursements
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: count
          in: query
          type: integer
          description: Number of push-to-card disbursements to retrieve
        - name: fields
          in: query
          type: string
          description: Comma-delimited list of fields to return (e.g. field_1,field_2,..). Leave blank to return all fields.
        - name: start_index
          in: query
          type: integer
          description: Start index
        - name: sort_by
          in: query
          type: string
          description: Sort order
      - name: postpushtocardsdisburse
        method: POST
        description: Initiates a push-to-card money disbursement
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: pushtocards-disburse-token
      path: /pushtocards/disburse/{token}
      operations:
      - name: getpushtocardsdisbursetoken
        method: GET
        description: Returns a specific push-to-card disbursement
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: token
          in: path
          type: string
          description: Push-to-card disbursement token
          required: true
        - name: fields
          in: query
          type: string
          description: Comma-delimited list of fields to return (e.g. field_1,field_2,..). Leave blank to return all fields.
    - name: pushtocards-paymentcard
      path: /pushtocards/paymentcard
      operations:
      - name: getpushtocardspaymentcard
        method: GET
        description: Returns all push-to-card payment card details
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: count
          in: query
          type: integer
          description: Number of push-to-card payment cards to retrieve
        - name: user_token
          in: query
          type: string
          description: User token
          required: true
        - name: fields
          in: query
          type: string
          description: Comma-delimited list of fields to return (e.g. field_1,field_2,..). Leave blank to return all fields.
        - name: start_index
          in: query
          type: integer
          description: Start index
        - name: sort_by
          in: query
          type: string
          description: Sort order
      - name: postpushtocardspaymentcard
        method: POST
        description: Adds an external card to which funds will be pushed
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: pushtocards-paymentcard-token
      path: /pushtocards/paymentcard/{token}
      operations:
      - name: getpushtocardspaymentcardtoken
        method: GET
        description: Returns a specific paymentcard object
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: token
          in: path
          type: string
          description: Push-to-card token
          required: true
        - name: fields
          in: query
          type: string
          description: Comma-delimited list of fields to return (e.g. field_1,field_2,..). Leave blank to return all fields.
    authentication:
      type: basic
      username: '{{env.MARQETA_USER}}'
      password: '{{env.MARQETA_PASS}}'
  exposes:
  - type: rest
    namespace: core-push-to-card-rest
    port: 8080
    description: REST adapter for Core API — push to card. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/pushtocards/disburse
      name: pushtocards-disburse
      description: REST surface for pushtocards-disburse.
      operations:
      - method: GET
        name: getpushtocardsdisburse
        description: Lists all push-to-card disbursements
        call: core-push-to-card.getpushtocardsdisburse
        with:
          count: rest.count
          fields: rest.fields
          start_index: rest.start_index
          sort_by: rest.sort_by
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: postpushtocardsdisburse
        description: Initiates a push-to-card money disbursement
        call: core-push-to-card.postpushtocardsdisburse
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/pushtocards/disburse/{token}
      name: pushtocards-disburse-token
      description: REST surface for pushtocards-disburse-token.
      operations:
      - method: GET
        name: getpushtocardsdisbursetoken
        description: Returns a specific push-to-card disbursement
        call: core-push-to-card.getpushtocardsdisbursetoken
        with:
          token: rest.token
          fields: rest.fields
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/pushtocards/paymentcard
      name: pushtocards-paymentcard
      description: REST surface for pushtocards-paymentcard.
      operations:
      - method: GET
        name: getpushtocardspaymentcard
        description: Returns all push-to-card payment card details
        call: core-push-to-card.getpushtocardspaymentcard
        with:
          count: rest.count
          user_token: rest.user_token
          fields: rest.fields
          start_index: rest.start_index
          sort_by: rest.sort_by
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: postpushtocardspaymentcard
        description: Adds an external card to which funds will be pushed
        call: core-push-to-card.postpushtocardspaymentcard
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/pushtocards/paymentcard/{token}
      name: pushtocards-paymentcard-token
      description: REST surface for pushtocards-paymentcard-token.
      operations:
      - method: GET
        name: getpushtocardspaymentcardtoken
        description: Returns a specific paymentcard object
        call: core-push-to-card.getpushtocardspaymentcardtoken
        with:
          token: rest.token
          fields: rest.fields
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: core-push-to-card-mcp
    port: 9090
    transport: http
    description: MCP adapter for Core API — push to card. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: lists-all-push-card-disbursements
      description: Lists all push-to-card disbursements
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: core-push-to-card.getpushtocardsdisburse
      with:
        count: tools.count
        fields: tools.fields
        start_index: tools.start_index
        sort_by: tools.sort_by
      outputParameters:
      - type: object
        mapping: $.
    - name: initiates-push-card-money-disbursement
      description: Initiates a push-to-card money disbursement
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: core-push-to-card.postpushtocardsdisburse
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: returns-specific-push-card-disbursement
      description: Returns a specific push-to-card disbursement
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: core-push-to-card.getpushtocardsdisbursetoken
      with:
        token: tools.token
        fields: tools.fields
      outputParameters:
      - type: object
        mapping: $.
    - name: returns-all-push-card-payment
      description: Returns all push-to-card payment card details
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: core-push-to-card.getpushtocardspaymentcard
      with:
        count: tools.count
        user_token: tools.user_token
        fields: tools.fields
        start_index: tools.start_index
        sort_by: tools.sort_by
      outputParameters:
      - type: object
        mapping: $.
    - name: adds-external-card-which-funds
      description: Adds an external card to which funds will be pushed
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: core-push-to-card.postpushtocardspaymentcard
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: returns-specific-paymentcard-object
      description: Returns a specific paymentcard object
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: core-push-to-card.getpushtocardspaymentcardtoken
      with:
        token: tools.token
        fields: tools.fields
      outputParameters:
      - type: object
        mapping: $.