Mastercard · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Mastercard Payments API

9 actions 9 updates phrasing extends openapi/mastercard-payments-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 9

$.info
$.paths['/payment-requests'].post
$.paths['/payment-cards/{payment_card_id}/transaction-footprints'].get
$.paths['/payment-cards/transaction-footprints/aggregates'].post
$.paths['/payment-cards'].post
$.paths['/payment-card-enrolments'].post
$.paths['/payment-card-deletions'].post
$.paths['/payments/guests'].post
$.paths['/payments'].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 Mastercard Payments API
  version: 1.0.0
extends: openapi/mastercard-payments-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: 8
- target: $.paths['/payment-requests'].post
  update:
    x-apievangelist-phrasing:
      intent: Request a payment from a debtor
      effect: write
      questions:
      - How does a creditor ask a debtor to pay?
      - Can I send a payment request without an agreement?
      instructions:
      - text: Create a payment request for creditor {creditor} for {transaction}.
        slots:
          creditor: requestBody.creditor
          transaction: requestBody.transaction
      - text: Send a payment request for {transaction} under agreement {agreementId}.
        slots:
          transaction: requestBody.transaction
          agreementId: requestBody.agreementId
      method: generated
      generated: '2026-11-21'
- target: $.paths['/payment-cards/{payment_card_id}/transaction-footprints'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a payment card's transaction history
      effect: read
      questions:
      - What transactions have been on a payment card?
      - Can I pull a card's history for a date range?
      instructions:
      - text: Get transactions for payment card {payment_card_id} from {from_date} to {to_date}.
        slots:
          payment_card_id: path.payment_card_id
          from_date: query.from_date
          to_date: query.to_date
      - text: Show {limit} transactions on card {payment_card_id} between {from_date} and {to_date}.
        slots:
          limit: query.limit
          payment_card_id: path.payment_card_id
          from_date: query.from_date
          to_date: query.to_date
      method: generated
      generated: '2026-11-21'
- target: $.paths['/payment-cards/transaction-footprints/aggregates'].post
  update:
    x-apievangelist-phrasing:
      intent: Get a payment card's carbon footprint
      effect: read
      questions:
      - How carbon-intensive are my card transactions?
      - Can I get weekly or monthly transaction aggregates for cards?
      instructions:
      - text: Get {aggregateType} carbon aggregates for cards {paymentCardIds}.
        slots:
          aggregateType: requestBody.aggregateType
          paymentCardIds: requestBody.paymentCardIds
      - text: Aggregate carbon scores for cards {paymentCardIds} from {fromDate} to {toDate}.
        slots:
          paymentCardIds: requestBody.paymentCardIds
          fromDate: requestBody.fromDate
          toDate: requestBody.toDate
      method: generated
      generated: '2026-11-21'
- target: $.paths['/payment-cards'].post
  update:
    x-apievangelist-phrasing:
      intent: Register a payment card
      effect: write
      questions:
      - How do I add a card to my profile?
      - Can I register a card by its full PAN?
      instructions:
      - text: Register card {fpan} in {cardBaseCurrency}.
        slots:
          fpan: requestBody.fpan
          cardBaseCurrency: requestBody.cardBaseCurrency
      - text: Add payment card {fpan} to my profile.
        slots:
          fpan: requestBody.fpan
      method: generated
      generated: '2026-11-21'
- target: $.paths['/payment-card-enrolments'].post
  update:
    x-apievangelist-phrasing:
      intent: Register many payment cards at once
      effect: write
      questions:
      - Can I register up to 100 cards in one call?
      - What is the limit on batch card registration?
      instructions:
      - text: Batch register these payment cards.
      - text: Enrol a list of up to 100 cards in one request.
      method: generated
      generated: '2026-11-21'
- target: $.paths['/payment-card-deletions'].post
  update:
    x-apievangelist-phrasing:
      intent: Delete payment cards
      effect: destructive
      questions:
      - How do I permanently remove cards from my profile?
      - Is data deleted immediately when a card is removed?
      instructions:
      - text: Delete these payment cards from my profile.
      - text: Permanently remove the cards I list.
      method: generated
      generated: '2026-11-21'
- target: $.paths['/payments/guests'].post
  update:
    x-apievangelist-phrasing:
      intent: Donate as a guest
      effect: write
      questions:
      - How does a guest make a one-time donation?
      - Can a guest donate without a donor account?
      instructions:
      - text: Process a guest donation {donation} from {user} using card {card}.
        slots:
          donation: requestBody.donation
          user: requestBody.user
          card: requestBody.card
      - text: Donate {donation} as a guest with card {card}.
        slots:
          donation: requestBody.donation
          card: requestBody.card
      method: generated
      generated: '2026-11-21'
- target: $.paths['/payments'].post
  update:
    x-apievangelist-phrasing:
      intent: Donate as a registered donor
      effect: write
      questions:
      - How does a registered donor give a one-time donation?
      - Can a donor use an existing card or add a new one?
      instructions:
      - text: Process a one-time donation {donation} for donor {donorId}.
        slots:
          donation: requestBody.donation
          donorId: requestBody.donorId
      - text: Donate {donation} as donor {donorId} using card {cardId}.
        slots:
          donation: requestBody.donation
          donorId: requestBody.donorId
          cardId: requestBody.cardId
      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-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.