Mastercard · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Mastercard Card API

13 actions 13 updates phrasing extends openapi/mastercard-card-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['/alerts/merchants/{member_id}/sub-merchants/{sub_merchant_id}/card-acceptor-ids'].get
$.paths['/alerts/merchants/{member_id}/sub-merchants/{sub_merchant_id}/card-acceptor-ids'].post
$.paths['/alerts/merchants/{member_id}/sub-merchants/{sub_merchant_id}/card-acceptor-ids'].delete
$.paths['/alerts/merchants/{member_id}/sub-merchants/{sub_merchant_id}/card-acceptor-names'].get
$.paths['/alerts/merchants/{member_id}/sub-merchants/{sub_merchant_id}/card-acceptor-names'].post
$.paths['/alerts/merchants/{member_id}/sub-merchants/{sub_merchant_id}/card-acceptor-names'].delete
$.paths['/sub-merchants/{guid}/locations/{location_id}/card-acceptor-names'].get
$.paths['/sub-merchants/{guid}/locations/{location_id}/card-acceptor-names'].post
$.paths['/sub-merchants/{guid}/locations/{location_id}/card-acceptor-names/{id}'].get
$.paths['/sub-merchants/{guid}/locations/{location_id}/card-acceptor-names/{id}'].put
$.paths['/sub-merchants/{guid}/locations/{location_id}/card-acceptor-names/{id}'].delete
$.paths['/real-card-accounts/{account_guid}'].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 Card API
  version: 1.0.0
extends: openapi/mastercard-card-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['/alerts/merchants/{member_id}/sub-merchants/{sub_merchant_id}/card-acceptor-ids'].get
  update:
    x-apievangelist-phrasing:
      intent: List a sub-merchant's card acceptor ID configs
      effect: read
      questions:
      - Which card acceptor IDs are configured for a sub-merchant?
      - Can I filter a sub-merchant's card acceptor ID configs by BIN?
      instructions:
      - text: List card acceptor ID configs for sub-merchant {sub_merchant_id} under member {member_id}.
        slots:
          sub_merchant_id: path.sub_merchant_id
          member_id: path.member_id
      - text: Show card acceptor ID config {card_acceptor_id} for sub-merchant {sub_merchant_id}, member {member_id}.
        slots:
          card_acceptor_id: query.card_acceptor_id
          sub_merchant_id: path.sub_merchant_id
          member_id: path.member_id
      method: generated
      generated: '2026-11-21'
- target: $.paths['/alerts/merchants/{member_id}/sub-merchants/{sub_merchant_id}/card-acceptor-ids'].post
  update:
    x-apievangelist-phrasing:
      intent: Create a sub-merchant card acceptor ID config
      effect: write
      questions:
      - How do I assign a card acceptor ID to a sub-merchant?
      - Can I link a BIN to a sub-merchant's card acceptor ID?
      instructions:
      - text: Create card acceptor ID config {card_acceptor_id} for sub-merchant {sub_merchant_id} under member {member_id}.
        slots:
          card_acceptor_id: requestBody.cardAcceptorId
          sub_merchant_id: path.sub_merchant_id
          member_id: path.member_id
      - text: Link BIN {acquirer_reference_id} to card acceptor ID {card_acceptor_id} for sub-merchant {sub_merchant_id}, member {member_id}.
        slots:
          acquirer_reference_id: requestBody.acquirerReferenceId
          card_acceptor_id: requestBody.cardAcceptorId
          sub_merchant_id: path.sub_merchant_id
          member_id: path.member_id
      method: generated
      generated: '2026-11-21'
- target: $.paths['/alerts/merchants/{member_id}/sub-merchants/{sub_merchant_id}/card-acceptor-ids'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete a sub-merchant card acceptor ID config
      effect: destructive
      questions:
      - Can I remove a card acceptor ID config from a sub-merchant?
      - What do I need to delete a sub-merchant card acceptor ID config?
      instructions:
      - text: Delete card acceptor ID config {merchant_identifier_config_id} from sub-merchant {sub_merchant_id} under member {member_id}.
        slots:
          merchant_identifier_config_id: query.merchant_identifier_config_id
          sub_merchant_id: path.sub_merchant_id
          member_id: path.member_id
      - text: Remove card acceptor ID config {merchant_identifier_config_id} for sub-merchant {sub_merchant_id}, member {member_id}.
        slots:
          merchant_identifier_config_id: query.merchant_identifier_config_id
          sub_merchant_id: path.sub_merchant_id
          member_id: path.member_id
      method: generated
      generated: '2026-11-21'
- target: $.paths['/alerts/merchants/{member_id}/sub-merchants/{sub_merchant_id}/card-acceptor-names'].get
  update:
    x-apievangelist-phrasing:
      intent: List a sub-merchant's card acceptor name configs
      effect: read
      questions:
      - Which card acceptor names are configured for a sub-merchant?
      - Can I search a sub-merchant's card acceptor name configs by name?
      instructions:
      - text: List card acceptor name configs for sub-merchant {sub_merchant_id} under member {member_id}.
        slots:
          sub_merchant_id: path.sub_merchant_id
          member_id: path.member_id
      - text: Show card acceptor name config {card_acceptor_name} for sub-merchant {sub_merchant_id}, member {member_id}.
        slots:
          card_acceptor_name: query.card_acceptor_name
          sub_merchant_id: path.sub_merchant_id
          member_id: path.member_id
      method: generated
      generated: '2026-11-21'
- target: $.paths['/alerts/merchants/{member_id}/sub-merchants/{sub_merchant_id}/card-acceptor-names'].post
  update:
    x-apievangelist-phrasing:
      intent: Create a sub-merchant card acceptor name config
      effect: write
      questions:
      - How do I add a card acceptor name to a sub-merchant?
      - Can I include the city and country when adding a sub-merchant card acceptor name?
      instructions:
      - text: Create card acceptor name config {card_acceptor_name} for sub-merchant {sub_merchant_id} under member {member_id}.
        slots:
          card_acceptor_name: requestBody.cardAcceptorName
          sub_merchant_id: path.sub_merchant_id
          member_id: path.member_id
      - text: Add card acceptor name {card_acceptor_name} in {card_acceptor_country} for sub-merchant {sub_merchant_id}, member {member_id}.
        slots:
          card_acceptor_name: requestBody.cardAcceptorName
          card_acceptor_country: requestBody.cardAcceptorCountry
          sub_merchant_id: path.sub_merchant_id
          member_id: path.member_id
      method: generated
      generated: '2026-11-21'
- target: $.paths['/alerts/merchants/{member_id}/sub-merchants/{sub_merchant_id}/card-acceptor-names'].delete
  update:
    x-apievangelist-phrasing:
      intent: Clear a sub-merchant's card acceptor name config
      effect: destructive
      questions:
      - Can I delete a card acceptor name configuration for a sub-merchant?
      - What happens to the acceptor name when its config is removed?
      instructions:
      - text: Delete card acceptor name config {config_id} for sub-merchant {sub_merchant} under {member}.
        slots:
          config_id: query.merchant_identifier_config_id
          sub_merchant: path.sub_merchant_id
          member: path.member_id
      - text: Remove acceptor name settings {config_id} from sub-merchant {sub_merchant}.
        slots:
          config_id: query.merchant_identifier_config_id
          sub_merchant: path.sub_merchant_id
      method: generated
      generated: '2026-11-21'
- target: $.paths['/sub-merchants/{guid}/locations/{location_id}/card-acceptor-names'].get
  update:
    x-apievangelist-phrasing:
      intent: List card acceptor names for a sub-merchant location
      effect: read
      questions:
      - What card acceptor names are set up for a location of a sub-merchant?
      - Can I search a sub-merchant location's card acceptor names?
      instructions:
      - text: List card acceptor names for location {location_id} of sub-merchant {guid}.
        slots:
          location_id: path.location_id
          guid: path.guid
      - text: Find card acceptor names matching {search_text} at location {location_id}, sub-merchant {guid}.
        slots:
          search_text: query.search_text
          location_id: path.location_id
          guid: path.guid
      method: generated
      generated: '2026-11-21'
- target: $.paths['/sub-merchants/{guid}/locations/{location_id}/card-acceptor-names'].post
  update:
    x-apievangelist-phrasing:
      intent: Add card acceptor names to a sub-merchant location
      effect: write
      questions:
      - How do I add several card acceptor names to a location?
      - Can I bulk-add card acceptor names to a sub-merchant location?
      instructions:
      - text: Add card acceptor names {cardAcceptorNames} to location {location_id} of sub-merchant {guid}.
        slots:
          cardAcceptorNames: requestBody.cardAcceptorNames
          location_id: path.location_id
          guid: path.guid
      - text: Bulk-add acceptor names {cardAcceptorNames} to location {location_id}, sub-merchant {guid}.
        slots:
          cardAcceptorNames: requestBody.cardAcceptorNames
          location_id: path.location_id
          guid: path.guid
      method: generated
      generated: '2026-11-21'
- target: $.paths['/sub-merchants/{guid}/locations/{location_id}/card-acceptor-names/{id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a card acceptor name at a sub-merchant location
      effect: read
      questions:
      - What is the card acceptor name at a location of a sub-merchant?
      - Can I look up one acceptor name by ID?
      instructions:
      - text: Get card acceptor name {id} at location {location_id} of sub-merchant {guid}.
        slots:
          id: path.id
          location_id: path.location_id
          guid: path.guid
      - text: Show acceptor name {id} for location {location_id}, sub-merchant {guid}.
        slots:
          id: path.id
          location_id: path.location_id
          guid: path.guid
      method: generated
      generated: '2026-11-21'
- target: $.paths['/sub-merchants/{guid}/locations/{location_id}/card-acceptor-names/{id}'].put
  update:
    x-apievangelist-phrasing:
      intent: Update a card acceptor name at a sub-merchant location
      effect: write
      questions:
      - How do I change the card acceptor name at a location?
      - Can I update a card acceptor name only if it matches the ETag?
      instructions:
      - text: Update card acceptor name {id} at location {location_id} of sub-merchant {guid} to {cardAcceptorName}.
        slots:
          id: path.id
          location_id: path.location_id
          guid: path.guid
          cardAcceptorName: requestBody.cardAcceptorName
      - text: Change acceptor name {id} at location {location_id}, sub-merchant {guid} to {cardAcceptorName} using match type {matchType}.
        slots:
          id: path.id
          location_id: path.location_id
          guid: path.guid
          cardAcceptorName: requestBody.cardAcceptorName
          matchType: requestBody.matchType
      method: generated
      generated: '2026-11-21'
- target: $.paths['/sub-merchants/{guid}/locations/{location_id}/card-acceptor-names/{id}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete a card acceptor name at a sub-merchant location
      effect: destructive
      questions:
      - Can I remove a card acceptor name from a location?
      - What happens when I delete a card acceptor name at a sub-merchant location?
      instructions:
      - text: Delete card acceptor name {id} at location {location_id} of sub-merchant {guid}.
        slots:
          id: path.id
          location_id: path.location_id
          guid: path.guid
      - text: Remove acceptor name {id} from location {location_id}, sub-merchant {guid}.
        slots:
          id: path.id
          location_id: path.location_id
          guid: path.guid
      method: generated
      generated: '2026-11-21'
- target: $.paths['/real-card-accounts/{account_guid}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete all virtual cards linked to a real card
      effect: destructive
      questions:
      - Can I delete every virtual card linked to a real card account?
      - What happens to virtual cards when their real card is deleted?
      instructions:
      - text: Delete all virtual cards linked to real card {account_guid}.
        slots:
          account_guid: path.account_guid
      - text: Remove every virtual card tied to real card account {account_guid}.
        slots:
          account_guid: path.account_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-card-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.