Marqeta · Capability

Core API — Account Bundle Transitions

Core API — Account Bundle Transitions. 3 operations. Lead operation: List account bundle transitions. Self-contained Naftiko capability covering one Marqeta business surface.

Run with Naftiko MarqetaAccount Bundle Transitions

What You Can Do

GET
Listaccountbundletransitions — List account bundle transitions
/v1/accounts/{account-token}/bundletransitions
POST
Transitionaccountbundle — Transition account bundle
/v1/accounts/{account-token}/bundletransitions
GET
Getaccountbundletransition — Retrieve account bundle transition
/v1/accounts/{account-token}/bundletransitions/{token}

MCP Tools

list-account-bundle-transitions

List account bundle transitions

read-only idempotent
transition-account-bundle

Transition account bundle

retrieve-account-bundle-transition

Retrieve account bundle transition

read-only idempotent

Capability Spec

core-account-bundle-transitions.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Core API — Account Bundle Transitions
  description: 'Core API — Account Bundle Transitions. 3 operations. Lead operation: List account bundle transitions. Self-contained
    Naftiko capability covering one Marqeta business surface.'
  tags:
  - Marqeta
  - Account Bundle Transitions
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    MARQETA_API_KEY: MARQETA_API_KEY
capability:
  consumes:
  - type: http
    namespace: core-account-bundle-transitions
    baseUri: ''
    description: Core API — Account Bundle Transitions business capability. Self-contained, no shared references.
    resources:
    - name: accounts-account_token-bundletransitions
      path: /accounts/{account_token}/bundletransitions
      operations:
      - name: listaccountbundletransitions
        method: GET
        description: List account bundle transitions
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: account_token
          in: path
          type: string
          description: Unique identifier of the credit account for which you want to retrieve bundle transitions.
          required: true
        - name: count
          in: query
          type: integer
          description: Number of account bundle transition resources to retrieve.
        - name: start_index
          in: query
          type: integer
          description: Sort order index of the first resource in the returned array.
        - name: sort_by
          in: query
          type: string
          description: Field on which to sort.
      - name: transitionaccountbundle
        method: POST
        description: Transition account bundle
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: account_token
          in: path
          type: string
          description: Unique identifier of the credit account for which to transition a bundle.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: accounts-account_token-bundletransitions-token
      path: /accounts/{account_token}/bundletransitions/{token}
      operations:
      - name: getaccountbundletransition
        method: GET
        description: Retrieve account bundle transition
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: account_token
          in: path
          type: string
          description: Unique identifier of the credit account for which you want to retrieve a bundle transition.
          required: true
        - name: token
          in: path
          type: string
          description: Unique identifier of the account bundle transition you want to retrieve.
          required: true
    authentication:
      type: basic
      username: '{{env.MARQETA_USER}}'
      password: '{{env.MARQETA_PASS}}'
  exposes:
  - type: rest
    namespace: core-account-bundle-transitions-rest
    port: 8080
    description: REST adapter for Core API — Account Bundle Transitions. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/accounts/{account-token}/bundletransitions
      name: accounts-account-token-bundletransitions
      description: REST surface for accounts-account_token-bundletransitions.
      operations:
      - method: GET
        name: listaccountbundletransitions
        description: List account bundle transitions
        call: core-account-bundle-transitions.listaccountbundletransitions
        with:
          account_token: rest.account_token
          count: rest.count
          start_index: rest.start_index
          sort_by: rest.sort_by
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: transitionaccountbundle
        description: Transition account bundle
        call: core-account-bundle-transitions.transitionaccountbundle
        with:
          account_token: rest.account_token
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/accounts/{account-token}/bundletransitions/{token}
      name: accounts-account-token-bundletransitions-token
      description: REST surface for accounts-account_token-bundletransitions-token.
      operations:
      - method: GET
        name: getaccountbundletransition
        description: Retrieve account bundle transition
        call: core-account-bundle-transitions.getaccountbundletransition
        with:
          account_token: rest.account_token
          token: rest.token
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: core-account-bundle-transitions-mcp
    port: 9090
    transport: http
    description: MCP adapter for Core API — Account Bundle Transitions. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: list-account-bundle-transitions
      description: List account bundle transitions
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: core-account-bundle-transitions.listaccountbundletransitions
      with:
        account_token: tools.account_token
        count: tools.count
        start_index: tools.start_index
        sort_by: tools.sort_by
      outputParameters:
      - type: object
        mapping: $.
    - name: transition-account-bundle
      description: Transition account bundle
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: core-account-bundle-transitions.transitionaccountbundle
      with:
        account_token: tools.account_token
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: retrieve-account-bundle-transition
      description: Retrieve account bundle transition
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: core-account-bundle-transitions.getaccountbundletransition
      with:
        account_token: tools.account_token
        token: tools.token
      outputParameters:
      - type: object
        mapping: $.