Medusa · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Medusa Payment Collections API

7 actions 7 updates phrasing extends openapi/medusa-payment-collections-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 7

$.info
$.paths['/admin/payment-collections'].post
$.paths['/admin/payment-collections/{id}'].delete
$.paths['/admin/payment-collections/{id}/mark-as-paid'].post
$.paths['/admin/payment-collections/{id}/payment-sessions'].post
$.paths['/store/payment-collections'].post
$.paths['/store/payment-collections/{id}/payment-sessions'].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 Payment Collections API
  version: 1.0.0
extends: openapi/medusa-payment-collections-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: 6
- target: $.paths['/admin/payment-collections'].post
  update:
    x-apievangelist-phrasing:
      intent: Create a payment collection for an order
      effect: write
      questions:
      - How do I create a payment collection for an order?
      - Can I set the amount a payment collection is for?
      instructions:
      - text: Create a payment collection for order {order_id} for {amount}.
        slots:
          order_id: requestBody.order_id
          amount: requestBody.amount
      - text: Set up a new payment collection on order {order_id} for {amount}.
        slots:
          order_id: requestBody.order_id
          amount: requestBody.amount
      method: generated
      generated: '2026-11-26'
- target: $.paths['/admin/payment-collections/{id}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete a payment collection
      effect: destructive
      questions:
      - How do I delete a payment collection?
      - Can I remove a payment collection by its ID?
      instructions:
      - text: Delete payment collection {id}.
        slots:
          id: path.id
      - text: Remove the payment collection {id}.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-26'
- target: $.paths['/admin/payment-collections/{id}/mark-as-paid'].post
  update:
    x-apievangelist-phrasing:
      intent: Mark a payment collection as paid
      effect: write
      questions:
      - How do I mark a payment collection as paid?
      - Does marking a payment collection as paid create a payment session and capture the payment?
      instructions:
      - text: Mark payment collection {id} as paid for order {order_id}.
        slots:
          id: path.id
          order_id: requestBody.order_id
      - text: Mark payment collection {id} paid using provider {provider_id} for order {order_id}.
        slots:
          id: path.id
          provider_id: requestBody.provider_id
          order_id: requestBody.order_id
      method: generated
      generated: '2026-11-26'
- target: $.paths['/admin/payment-collections/{id}/payment-sessions'].post
  update:
    x-apievangelist-phrasing:
      intent: Initialize a payment session in a payment collection
      effect: write
      questions:
      - How do I initialize a payment session inside a payment collection?
      - Can I re-initialize a payment session for an order placed outside checkout?
      instructions:
      - text: Initialize a payment session in payment collection {id} with provider {provider_id}.
        slots:
          id: path.id
          provider_id: requestBody.provider_id
      - text: Re-initialize payment session {id} for provider {provider_id}.
        slots:
          id: path.id
          provider_id: requestBody.provider_id
      method: generated
      generated: '2026-11-26'
- target: $.paths['/store/payment-collections'].post
  update:
    x-apievangelist-phrasing:
      intent: Create a payment collection for a cart
      effect: write
      questions:
      - How do I create a payment collection for a cart during checkout?
      - What is needed to start a payment collection for a cart?
      instructions:
      - text: Create a payment collection for cart {cart_id}.
        slots:
          cart_id: requestBody.cart_id
      - text: Start a payment collection for cart {cart_id} using publishable key {key}.
        slots:
          cart_id: requestBody.cart_id
          key: header.x-publishable-api-key
      method: generated
      generated: '2026-11-26'
- target: $.paths['/store/payment-collections/{id}/payment-sessions'].post
  update:
    x-apievangelist-phrasing:
      intent: Initialize a payment session on a payment collection
      effect: write
      questions:
      - How do I start a payment session in checkout for a payment collection?
      - Do I need a non-zero amount on a payment collection to create its session?
      instructions:
      - text: Initialize a {provider_id} payment session on collection {id}.
        slots:
          provider_id: requestBody.provider_id
          id: path.id
      - text: Create a checkout session for collection {id} using provider {provider_id} with data {data}.
        slots:
          id: path.id
          provider_id: requestBody.provider_id
          data: requestBody.data
      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-payment-collections-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.