Mastercard · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Mastercard Ethoca Merchant Self Services Guid API

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

What the actions change

x-apievangelist-phrasing

Targets 13

$.info
$.paths['/merchants/{guid}/logos'].get
$.paths['/merchants/{guid}/logos'].put
$.paths['/merchants/{guid}/logos'].post
$.paths['/merchants/{guid}/logos'].delete
$.paths['/sub-merchants/{guid}'].get
$.paths['/sub-merchants/{guid}'].put
$.paths['/sub-merchants/{guid}/states'].put
$.paths['/sub-merchants/{guid}/locations'].get
$.paths['/sub-merchants/{guid}/locations'].post
$.paths['/sub-merchants/{guid}/locations/{location_id}'].get
$.paths['/sub-merchants/{guid}/locations/{location_id}'].put
$.paths['/sub-merchants/{guid}/locations/{location_id}'].delete

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 Mastercard Ethoca Merchant Self Services Guid API
  version: 1.0.0
extends: openapi/mastercard-guid-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-11-21'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 12
- target: $.paths['/merchants/{guid}/logos'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a sub-merchant's logo
      effect: read
      questions:
      - How do I fetch the logo of a sub-merchant?
      - Can I download a sub-merchant's logo as a base64 image?
      instructions:
      - text: Get the logo for sub-merchant {guid}.
        slots:
          guid: path.guid
      - text: Show the base64-encoded logo image of {guid}.
        slots:
          guid: path.guid
      method: generated
      generated: '2026-11-21'
- target: $.paths['/merchants/{guid}/logos'].put
  update:
    x-apievangelist-phrasing:
      intent: Replace a sub-merchant's logo
      effect: write
      questions:
      - How do I replace a sub-merchant's logo?
      - Can I upload a new logo image for a sub-merchant?
      instructions:
      - text: Replace the logo of sub-merchant {guid} with {imageBase64Encoded}.
        slots:
          guid: path.guid
          imageBase64Encoded: requestBody.imageBase64Encoded
      - text: Update the logo image for {guid} to {imageBase64Encoded}.
        slots:
          guid: path.guid
          imageBase64Encoded: requestBody.imageBase64Encoded
      method: generated
      generated: '2026-11-21'
- target: $.paths['/merchants/{guid}/logos'].post
  update:
    x-apievangelist-phrasing:
      intent: Upload a logo to a sub-merchant
      effect: write
      questions:
      - How do I upload a logo to a sub-merchant?
      - Can I set a logo on a sub-merchant for the first time?
      instructions:
      - text: Create a logo for sub-merchant {guid} using {imageBase64Encoded}.
        slots:
          guid: path.guid
          imageBase64Encoded: requestBody.imageBase64Encoded
      - text: Upload {imageBase64Encoded} as the logo of {guid}.
        slots:
          imageBase64Encoded: requestBody.imageBase64Encoded
          guid: path.guid
      method: generated
      generated: '2026-11-21'
- target: $.paths['/merchants/{guid}/logos'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete a sub-merchant's logo
      effect: destructive
      questions:
      - How do I remove a sub-merchant's logo?
      - Can I clear the logo image from a sub-merchant?
      instructions:
      - text: Delete the logo of sub-merchant {guid}.
        slots:
          guid: path.guid
      - text: Remove the logo image from {guid}.
        slots:
          guid: path.guid
      method: generated
      generated: '2026-11-21'
- target: $.paths['/sub-merchants/{guid}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a sub-merchant's details
      effect: read
      questions:
      - How do I look up a sub-merchant by GUID?
      - What details are stored for a sub-merchant?
      instructions:
      - text: Get sub-merchant {guid}.
        slots:
          guid: path.guid
      - text: Show the details of sub-merchant {guid}.
        slots:
          guid: path.guid
      method: generated
      generated: '2026-11-21'
- target: $.paths['/sub-merchants/{guid}'].put
  update:
    x-apievangelist-phrasing:
      intent: Update a sub-merchant's details
      effect: write
      questions:
      - How do I change a sub-merchant's identifier?
      - Can I update a sub-merchant's details with an ETag check?
      instructions:
      - text: Update sub-merchant {guid} with identifier {subMerchantIdentifier}.
        slots:
          guid: path.guid
          subMerchantIdentifier: requestBody.subMerchantIdentifier
      - text: Change the details of {guid} to {subMerchantIdentifier}, ETag {If-Match}.
        slots:
          guid: path.guid
          subMerchantIdentifier: requestBody.subMerchantIdentifier
          If-Match: header.If-Match
      method: generated
      generated: '2026-11-21'
- target: $.paths['/sub-merchants/{guid}/states'].put
  update:
    x-apievangelist-phrasing:
      intent: Activate or deactivate a sub-merchant
      effect: write
      questions:
      - How do I deactivate a sub-merchant?
      - Can I reactivate an inactive sub-merchant?
      instructions:
      - text: Set sub-merchant {guid} to state {state}.
        slots:
          guid: path.guid
          state: requestBody.state
      - text: Deactivate {guid} with reason {inactivationReason}, state {state}.
        slots:
          guid: path.guid
          inactivationReason: requestBody.inactivationReason
          state: requestBody.state
      method: generated
      generated: '2026-11-21'
- target: $.paths['/sub-merchants/{guid}/locations'].get
  update:
    x-apievangelist-phrasing:
      intent: List a sub-merchant's locations
      effect: read
      questions:
      - How do I list all locations of a sub-merchant?
      - Can I search a sub-merchant's locations by city?
      instructions:
      - text: List the locations of sub-merchant {guid}.
        slots:
          guid: path.guid
      - text: Find locations of {guid} matching {search_text}.
        slots:
          guid: path.guid
          search_text: query.search_text
      method: generated
      generated: '2026-11-21'
- target: $.paths['/sub-merchants/{guid}/locations'].post
  update:
    x-apievangelist-phrasing:
      intent: Add locations to a sub-merchant
      effect: write
      questions:
      - How do I add new locations to a sub-merchant?
      - Can I bulk-create locations for a sub-merchant?
      instructions:
      - text: Add locations {locations} to sub-merchant {guid}.
        slots:
          locations: requestBody.locations
          guid: path.guid
      - text: Create new locations {locations} under {guid}.
        slots:
          locations: requestBody.locations
          guid: path.guid
      method: generated
      generated: '2026-11-21'
- target: $.paths['/sub-merchants/{guid}/locations/{location_id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get one location of a sub-merchant
      effect: read
      questions:
      - How do I look up a single location of a sub-merchant?
      - What details are stored for one location?
      instructions:
      - text: Get location {location_id} of sub-merchant {guid}.
        slots:
          location_id: path.location_id
          guid: path.guid
      - text: Show sub-merchant {guid}'s location {location_id}.
        slots:
          guid: path.guid
          location_id: path.location_id
      method: generated
      generated: '2026-11-21'
- target: $.paths['/sub-merchants/{guid}/locations/{location_id}'].put
  update:
    x-apievangelist-phrasing:
      intent: Update a sub-merchant location
      effect: write
      questions:
      - How do I change a sub-merchant's location website?
      - Can I update a location's refund policy with an ETag?
      instructions:
      - text: Update location {location_id} of {guid} with website {website}.
        slots:
          location_id: path.location_id
          guid: path.guid
          website: requestBody.website
      - text: Set the refund policy of location {location_id} on {guid} to {refundPolicy}, ETag {If-Match}.
        slots:
          location_id: path.location_id
          guid: path.guid
          refundPolicy: requestBody.refundPolicy
          If-Match: header.If-Match
      method: generated
      generated: '2026-11-21'
- target: $.paths['/sub-merchants/{guid}/locations/{location_id}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete a sub-merchant location
      effect: destructive
      questions:
      - How do I remove a location from a sub-merchant?
      - Can I delete a single location by its ID?
      instructions:
      - text: Delete location {location_id} from sub-merchant {guid}.
        slots:
          location_id: path.location_id
          guid: path.guid
      - text: Remove location {location_id} of {guid}.
        slots:
          location_id: path.location_id
          guid: path.guid
      method: generated
      generated: '2026-11-21'

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/mastercard-guid-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.