Coinbase · Capability

Coinbase Exchange API — Deposits

Coinbase Exchange API — Deposits. 3 operations. Lead operation: Deposit from Coinbase account. Self-contained Naftiko capability covering one Coinbase business surface.

Run with Naftiko CoinbaseDeposits

What You Can Do

POST
Depositfromcoinbaseaccount — Deposit from Coinbase account
/v1/deposits/coinbase-account
POST
Depositfrompaymentmethod — Deposit from payment method
/v1/deposits/payment-method
GET
Listpaymentmethods — List payment methods
/v1/payment-methods

MCP Tools

deposit-coinbase-account

Deposit from Coinbase account

deposit-payment-method

Deposit from payment method

list-payment-methods

List payment methods

read-only idempotent

Capability Spec

exchange-deposits.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Coinbase Exchange API — Deposits
  description: 'Coinbase Exchange API — Deposits. 3 operations. Lead operation: Deposit from Coinbase account. Self-contained
    Naftiko capability covering one Coinbase business surface.'
  tags:
  - Coinbase
  - Deposits
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    COINBASE_API_KEY: COINBASE_API_KEY
capability:
  consumes:
  - type: http
    namespace: exchange-deposits
    baseUri: https://api.exchange.coinbase.com
    description: Coinbase Exchange API — Deposits business capability. Self-contained, no shared references.
    resources:
    - name: deposits-coinbase-account
      path: /deposits/coinbase-account
      operations:
      - name: depositfromcoinbaseaccount
        method: POST
        description: Deposit from Coinbase account
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: deposits-payment-method
      path: /deposits/payment-method
      operations:
      - name: depositfrompaymentmethod
        method: POST
        description: Deposit from payment method
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: payment-methods
      path: /payment-methods
      operations:
      - name: listpaymentmethods
        method: GET
        description: List payment methods
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: apikey
      key: CB-ACCESS-KEY
      value: '{{env.COINBASE_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: exchange-deposits-rest
    port: 8080
    description: REST adapter for Coinbase Exchange API — Deposits. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/deposits/coinbase-account
      name: deposits-coinbase-account
      description: REST surface for deposits-coinbase-account.
      operations:
      - method: POST
        name: depositfromcoinbaseaccount
        description: Deposit from Coinbase account
        call: exchange-deposits.depositfromcoinbaseaccount
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/deposits/payment-method
      name: deposits-payment-method
      description: REST surface for deposits-payment-method.
      operations:
      - method: POST
        name: depositfrompaymentmethod
        description: Deposit from payment method
        call: exchange-deposits.depositfrompaymentmethod
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/payment-methods
      name: payment-methods
      description: REST surface for payment-methods.
      operations:
      - method: GET
        name: listpaymentmethods
        description: List payment methods
        call: exchange-deposits.listpaymentmethods
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: exchange-deposits-mcp
    port: 9090
    transport: http
    description: MCP adapter for Coinbase Exchange API — Deposits. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: deposit-coinbase-account
      description: Deposit from Coinbase account
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: exchange-deposits.depositfromcoinbaseaccount
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: deposit-payment-method
      description: Deposit from payment method
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: exchange-deposits.depositfrompaymentmethod
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: list-payment-methods
      description: List payment methods
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: exchange-deposits.listpaymentmethods
      outputParameters:
      - type: object
        mapping: $.