Coinbase · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Coinbase Developer Platform Payment Sessions API

21 actions 21 updates phrasing extends openapi/coinbase-payment-sessions-api-openapi.yml
Generated by API Evangelist Written by API Evangelist tooling for Coinbase's API. It is a proposal applied on top of the contract, not a document Coinbase publishes.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 21 · first 16 shown; the file carries all of them

$.info
$.paths['/v2/payment-sessions'].get
$.paths['/v2/payment-sessions'].post
$.paths['/v2/payment-sessions/{paymentSessionId}'].get
$.paths['/v2/payment-sessions/{paymentSessionId}/cancel'].post
$.paths['/v2/payment-sessions/{paymentSessionId}/authorizations/wallet/options'].get
$.paths['/v2/payment-sessions/{paymentSessionId}/authorizations/wallet'].post
$.paths['/v2/payment-sessions/{paymentSessionId}/authorizations/x402'].post
$.paths['/v2/payment-sessions/{paymentSessionId}/authorizations/coinbase'].post
$.paths['/v2/payment-sessions/{paymentSessionId}/authorizations/mandate'].post
$.paths['/v2/payment-sessions/{paymentSessionId}/authorizations'].get
$.paths['/v2/payment-sessions/{paymentSessionId}/authorizations/{authorizationId}'].get
$.paths['/v2/payment-sessions/{paymentSessionId}/captures'].get
$.paths['/v2/payment-sessions/{paymentSessionId}/captures'].post
$.paths['/v2/payment-sessions/{paymentSessionId}/captures/{captureId}'].get
$.paths['/v2/payment-sessions/{paymentSessionId}/voids'].get

OpenAPI Overlay

Raw ↑
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
  title: API Evangelist conversational phrasing for Coinbase Developer Platform Payment Sessions API
  version: 1.0.0
extends: openapi/coinbase-payment-sessions-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-11-19'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 20
- target: $.paths['/v2/payment-sessions'].get
  update:
    x-apievangelist-phrasing:
      intent: List payment sessions
      effect: read
      questions:
      - Which payment sessions have I created?
      - Can I page through my payment sessions?
      instructions:
      - text: List my payment sessions.
      - text: Show {pageSize} payment sessions per page.
        slots:
          pageSize: query.pageSize
      method: generated
      generated: '2026-11-19'
- target: $.paths['/v2/payment-sessions'].post
  update:
    x-apievangelist-phrasing:
      intent: Create a payment session
      effect: write
      questions:
      - How do I create a payment session for a customer?
      - Can I set expiry deadlines and redirect URLs on a new session?
      instructions:
      - text: Create a payment session for {amount} {asset} to {target}.
        slots:
          amount: requestBody.amount
          asset: requestBody.asset
          target: requestBody.target
      - text: Create a {asset} session to {target} with {amount} and redirect {redirect}.
        slots:
          asset: requestBody.asset
          target: requestBody.target
          amount: requestBody.amount
          redirect: requestBody.redirect
      method: generated
      generated: '2026-11-19'
- target: $.paths['/v2/payment-sessions/{paymentSessionId}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a payment session
      effect: read
      questions:
      - What is the status and balances of a payment session?
      - Can I look up one payment session by ID?
      instructions:
      - text: Get payment session {paymentSessionId}.
        slots:
          paymentSessionId: path.paymentSessionId
      - text: Show the balances and status of session {paymentSessionId}.
        slots:
          paymentSessionId: path.paymentSessionId
      method: generated
      generated: '2026-11-19'
- target: $.paths['/v2/payment-sessions/{paymentSessionId}/cancel'].post
  update:
    x-apievangelist-phrasing:
      intent: Cancel a payment session
      effect: destructive
      questions:
      - How do I cancel a payment session before it is authorized?
      - Can I record a reason when cancelling a session?
      instructions:
      - text: Cancel payment session {paymentSessionId}.
        slots:
          paymentSessionId: path.paymentSessionId
      - text: Cancel session {paymentSessionId} because {cancellationReason}.
        slots:
          paymentSessionId: path.paymentSessionId
          cancellationReason: requestBody.cancellationReason
      method: generated
      generated: '2026-11-19'
- target: $.paths['/v2/payment-sessions/{paymentSessionId}/authorizations/wallet/options'].get
  update:
    x-apievangelist-phrasing:
      intent: Get wallet authorization options
      effect: read
      questions:
      - Which wallet addresses can a payer use to authorize a session?
      - Can I filter wallet authorization options to one network?
      instructions:
      - text: Get wallet authorization options for session {paymentSessionId} on addresses {addresses}.
        slots:
          paymentSessionId: path.paymentSessionId
          addresses: query.addresses
      - text: Show {asset} wallet options for {addresses} on {network} for session {paymentSessionId}.
        slots:
          asset: query.asset
          addresses: query.addresses
          network: query.network
          paymentSessionId: path.paymentSessionId
      method: generated
      generated: '2026-11-19'
- target: $.paths['/v2/payment-sessions/{paymentSessionId}/authorizations/wallet'].post
  update:
    x-apievangelist-phrasing:
      intent: Authorize a session with a payer's wallet
      effect: write
      questions:
      - How does a payer authorize a session with their own wallet?
      - What signed payloads does a wallet authorization need?
      instructions:
      - text: Authorize session {paymentSessionId} with option {optionId} and payloads {signedPayloads}.
        slots:
          paymentSessionId: path.paymentSessionId
          optionId: requestBody.optionId
          signedPayloads: requestBody.signedPayloads
      - text: Let the payer sign option {optionId} on session {paymentSessionId} with payloads {signedPayloads}.
        slots:
          optionId: requestBody.optionId
          paymentSessionId: path.paymentSessionId
          signedPayloads: requestBody.signedPayloads
      method: generated
      generated: '2026-11-19'
- target: $.paths['/v2/payment-sessions/{paymentSessionId}/authorizations/x402'].post
  update:
    x-apievangelist-phrasing:
      intent: Authorize a session with x402
      effect: write
      questions:
      - Can a payer authorize a session with an x402 payment payload?
      - What happens if x402 payment must be supplied before authorization?
      instructions:
      - text: Authorize session {paymentSessionId} with x402 signature {PAYMENT-SIGNATURE}.
        slots:
          paymentSessionId: path.paymentSessionId
          PAYMENT-SIGNATURE: header.PAYMENT-SIGNATURE
      - text: Let the payer pay with x402 on session {paymentSessionId} using signature {PAYMENT-SIGNATURE}.
        slots:
          paymentSessionId: path.paymentSessionId
          PAYMENT-SIGNATURE: header.PAYMENT-SIGNATURE
      method: generated
      generated: '2026-11-19'
- target: $.paths['/v2/payment-sessions/{paymentSessionId}/authorizations/coinbase'].post
  update:
    x-apievangelist-phrasing:
      intent: Authorize a session with a Coinbase account
      effect: write
      questions:
      - How does a merchant charge a payer's Coinbase account?
      - Which OAuth grant does a Coinbase authorization need?
      instructions:
      - text: Authorize session {paymentSessionId} with Coinbase grant {cb-authz-id}.
        slots:
          paymentSessionId: path.paymentSessionId
          cb-authz-id: header.cb-authz-id
      - text: Charge the payer's Coinbase account for session {paymentSessionId} using grant {cb-authz-id}.
        slots:
          paymentSessionId: path.paymentSessionId
          cb-authz-id: header.cb-authz-id
      method: generated
      generated: '2026-11-19'
- target: $.paths['/v2/payment-sessions/{paymentSessionId}/authorizations/mandate'].post
  update:
    x-apievangelist-phrasing:
      intent: Authorize a session with a mandate
      effect: write
      questions:
      - Can a merchant draw against a mandate without the payer present?
      - What status must a mandate be in to authorize a session?
      instructions:
      - text: Authorize session {paymentSessionId} with mandate {mandateId}.
        slots:
          paymentSessionId: path.paymentSessionId
          mandateId: requestBody.mandateId
      - text: Charge mandate {mandateId} on session {paymentSessionId}.
        slots:
          mandateId: requestBody.mandateId
          paymentSessionId: path.paymentSessionId
      method: generated
      generated: '2026-11-19'
- target: $.paths['/v2/payment-sessions/{paymentSessionId}/authorizations'].get
  update:
    x-apievangelist-phrasing:
      intent: List authorizations on a session
      effect: read
      questions:
      - Which authorizations hold funds on a payment session?
      - Can I page through a session's authorizations?
      instructions:
      - text: List authorizations for session {paymentSessionId}.
        slots:
          paymentSessionId: path.paymentSessionId
      - text: Show {pageSize} authorizations per page on session {paymentSessionId}.
        slots:
          pageSize: query.pageSize
          paymentSessionId: path.paymentSessionId
      method: generated
      generated: '2026-11-19'
- target: $.paths['/v2/payment-sessions/{paymentSessionId}/authorizations/{authorizationId}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get an authorization on a session
      effect: read
      questions:
      - What is the status of one authorization on a payment session?
      - Can I look up a single session authorization by ID?
      instructions:
      - text: Get authorization {authorizationId} on session {paymentSessionId}.
        slots:
          authorizationId: path.authorizationId
          paymentSessionId: path.paymentSessionId
      - text: Show the status of authorization {authorizationId} for session {paymentSessionId}.
        slots:
          authorizationId: path.authorizationId
          paymentSessionId: path.paymentSessionId
      method: generated
      generated: '2026-11-19'
- target: $.paths['/v2/payment-sessions/{paymentSessionId}/captures'].get
  update:
    x-apievangelist-phrasing:
      intent: List captures on a session
      effect: read
      questions:
      - Which captures have been made on a payment session?
      - Can I page through a session's captures?
      instructions:
      - text: List captures for session {paymentSessionId}.
        slots:
          paymentSessionId: path.paymentSessionId
      - text: Show {pageSize} captures per page on session {paymentSessionId}.
        slots:
          pageSize: query.pageSize
          paymentSessionId: path.paymentSessionId
      method: generated
      generated: '2026-11-19'
- target: $.paths['/v2/payment-sessions/{paymentSessionId}/captures'].post
  update:
    x-apievangelist-phrasing:
      intent: Capture authorized funds
      effect: write
      questions:
      - How do I capture funds a payer authorized?
      - Can I capture only part of a session's capturable balance?
      instructions:
      - text: Capture {amount} from session {paymentSessionId} as final capture {finalCapture}.
        slots:
          amount: requestBody.amount
          paymentSessionId: path.paymentSessionId
          finalCapture: requestBody.finalCapture
      - text: Capture the remaining capturable balance on session {paymentSessionId} as final capture {finalCapture}.
        slots:
          paymentSessionId: path.paymentSessionId
          finalCapture: requestBody.finalCapture
      method: generated
      generated: '2026-11-19'
- target: $.paths['/v2/payment-sessions/{paymentSessionId}/captures/{captureId}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a capture on a session
      effect: read
      questions:
      - What is the status of one capture on a payment session?
      - Can I look up a single session capture by ID?
      instructions:
      - text: Get capture {captureId} on session {paymentSessionId}.
        slots:
          captureId: path.captureId
          paymentSessionId: path.paymentSessionId
      - text: Show the status of capture {captureId} for session {paymentSessionId}.
        slots:
          captureId: path.captureId
          paymentSessionId: path.paymentSessionId
      method: generated
      generated: '2026-11-19'
- target: $.paths['/v2/payment-sessions/{paymentSessionId}/voids'].get
  update:
    x-apievangelist-phrasing:
      intent: List voids on a session
      effect: read
      questions:
      - Which voids have released funds on a payment session?
      - Can I page through a session's voids?
      instructions:
      - text: List voids for session {paymentSessionId}.
        slots:
          paymentSessionId: path.paymentSessionId
      - text: Show {pageSize} voids per page on session {paymentSessionId}.
        slots:
          pageSize: query.pageSize
          paymentSessionId: path.paymentSessionId
      method: generated
      generated: '2026-11-19'
- target: $.paths['/v2/payment-sessions/{paymentSessionId}/voids'].post
  update:
    x-apievangelist-phrasing:
      intent: Release uncaptured funds on a payment session
      effect: destructive
      questions:
      - How do I release the remaining authorized funds back to the payer after authorization?
      - Can I tag a void with my own reference ID from my system?
      - What's the difference between voiding and cancelling a session that is already authorized?
      - Will a session still accept captures once I've voided it?
      instructions:
      - text: Void payment session {paymentSessionId}.
        slots:
          paymentSessionId: path.paymentSessionId
      - text: Void session {paymentSessionId} and record external reference {externalReferenceId}.
        slots:
          paymentSessionId: path.paymentSessionId
          externalReferenceId: requestBody.externalReferenceId
      - text: Void session {paymentSessionId} with metadata {metadata} and idempotency key {idempotencyKey}.
        slots:
          paymentSessionId: path.paymentSessionId
          metadata: requestBody.metadata
          idempotencyKey: header.X-Idempotency-Key
      method: generated
      generated: '2026-11-19'
- target: $.paths['/v2/payment-sessions/{paymentSessionId}/voids/{voidId}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a void on a session
      effect: read
      questions:
      - What is the status of one void on a payment session?
      - Can I look up a single session void by ID?
      instructions:
      - text: Get void {voidId} on session {paymentSessionId}.
        slots:
          voidId: path.voidId
          paymentSessionId: path.paymentSessionId
      - text: Show the status of void {voidId} for session {paymentSessionId}.
        slots:
          voidId: path.voidId
          paymentSessionId: path.paymentSessionId
      method: generated
      generated: '2026-11-19'
- target: $.paths['/v2/payment-sessions/{paymentSessionId}/refunds'].get
  update:
    x-apievangelist-phrasing:
      intent: List refunds on a session
      effect: read
      questions:
      - Which refunds have been issued on a payment session?
      - Can I page through a session's refunds?
      instructions:
      - text: List refunds for session {paymentSessionId}.
        slots:
          paymentSessionId: path.paymentSessionId
      - text: Show {pageSize} refunds per page on session {paymentSessionId}.
        slots:
          pageSize: query.pageSize
          paymentSessionId: path.paymentSessionId
      method: generated
      generated: '2026-11-19'
- target: $.paths['/v2/payment-sessions/{paymentSessionId}/refunds'].post
  update:
    x-apievangelist-phrasing:
      intent: Refund a payment session
      effect: write
      questions:
      - How do I refund funds to a payer?
      - Can I refund only part of a session's refundable balance?
      instructions:
      - text: Refund {amount} from session {paymentSessionId} from source {source}.
        slots:
          amount: requestBody.amount
          paymentSessionId: path.paymentSessionId
          source: requestBody.source
      - text: Refund {amount} from session {paymentSessionId} from source {source} because {reason}.
        slots:
          amount: requestBody.amount
          paymentSessionId: path.paymentSessionId
          source: requestBody.source
          reason: requestBody.reason
      method: generated
      generated: '2026-11-19'
- target: $.paths['/v2/payment-sessions/{paymentSessionId}/refunds/{refundId}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a refund on a session
      effect: read
      questions:
      - What is the status of one refund on a payment session?
      - Can I look up a single session refund by ID?
      instructions:
      - text: Get refund {refundId} on session {paymentSessionId}.
        slots:
          refundId: path.refundId
          paymentSessionId: path.paymentSessionId
      - text: Show the status of refund {refundId} for session {paymentSessionId}.
        slots:
          refundId: path.refundId
          paymentSessionId: path.paymentSessionId
      method: generated
      generated: '2026-11-19'

Work with this as data

Every overlay here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for openapi overlays

4 MCP tools reach this
  • find_overlaysBrowse and filter every overlay in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This overlay
curl "https://apis.io/api/v1/overlays/coinbase-payment-sessions-api-phrasing-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.