Medusa · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Medusa Admin Payments API

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

What the actions change

x-apievangelist-phrasing

Targets 6

$.info
$.paths['/admin/payments'].get
$.paths['/admin/payments/payment-providers'].get
$.paths['/admin/payments/{id}'].get
$.paths['/admin/payments/{id}/capture'].post
$.paths['/admin/payments/{id}/refund'].post

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 Medusa Admin Payments API
  version: 1.0.0
extends: openapi/medusa-payments-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-11-26'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 5
- target: $.paths['/admin/payments'].get
  update:
    x-apievangelist-phrasing:
      intent: List payments
      effect: read
      questions:
      - Which payments have been captured on a payment session?
      - Can I list payments created within a date range?
      instructions:
      - text: List payments for payment session {payment_session_id}.
        slots:
          payment_session_id: query.payment_session_id
      - text: Find payments created between {created_at}.
        slots:
          created_at: query.created_at
      method: generated
      generated: '2026-11-26'
- target: $.paths['/admin/payments/payment-providers'].get
  update:
    x-apievangelist-phrasing:
      intent: List payment providers
      effect: read
      questions:
      - Which payment providers are enabled in the store?
      - Can I list only the disabled payment providers?
      instructions:
      - text: 'List enabled payment providers: {is_enabled}.'
        slots:
          is_enabled: query.is_enabled
      - text: Show payment providers with ID {id}.
        slots:
          id: query.id
      method: generated
      generated: '2026-11-26'
- target: $.paths['/admin/payments/{id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a payment
      effect: read
      questions:
      - What is the status of a specific payment?
      - Can I look up one payment by its ID?
      instructions:
      - text: Get payment {id}.
        slots:
          id: path.id
      - text: Show payment {id} with fields {fields}.
        slots:
          id: path.id
          fields: query.fields
      method: generated
      generated: '2026-11-26'
- target: $.paths['/admin/payments/{id}/capture'].post
  update:
    x-apievangelist-phrasing:
      intent: Capture a payment
      effect: write
      questions:
      - How do I capture the authorized amount on a payment?
      - Can I capture only part of a payment?
      instructions:
      - text: Capture payment {id}.
        slots:
          id: path.id
      - text: Capture {amount} of payment {id}.
        slots:
          amount: requestBody.amount
          id: path.id
      method: generated
      generated: '2026-11-26'
- target: $.paths['/admin/payments/{id}/refund'].post
  update:
    x-apievangelist-phrasing:
      intent: Refund a payment
      effect: write
      questions:
      - How do I refund a customer's payment?
      - Can I attach a reason and note to a refund?
      instructions:
      - text: Refund payment {id}.
        slots:
          id: path.id
      - text: Refund {amount} of payment {id} with reason {refund_reason_id} and note {note}.
        slots:
          amount: requestBody.amount
          id: path.id
          refund_reason_id: requestBody.refund_reason_id
          note: requestBody.note
      method: generated
      generated: '2026-11-26'

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/medusa-payments-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.