Mastercard · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Mastercard Donate Donor API

16 actions 16 updates phrasing extends openapi/mastercard-donor-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 16

$.info
$.paths['/donors/{donor_id}'].get
$.paths['/donors/{donor_id}'].put
$.paths['/donors/{donor_id}'].delete
$.paths['/donors/{donor_id}/cards'].get
$.paths['/donors/{donor_id}/cards'].post
$.paths['/donors/{donor_id}/cards/searches'].post
$.paths['/donors/{donor_id}/cards/{card_id}'].get
$.paths['/donors/{donor_id}/cards/{card_id}'].put
$.paths['/donors/{donor_id}/cards/{card_id}'].delete
$.paths['/donors/{donor_id}/setups'].get
$.paths['/donors/{donor_id}/setups'].post
$.paths['/donors/{donor_id}/setups/{donation_setup_id}'].get
$.paths['/donors/{donor_id}/setups/{donation_setup_id}'].put
$.paths['/donors/{donor_id}/setups/{donation_setup_id}'].delete
$.paths['/donors/{donor_id}/transactions'].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 Donate Donor API
  version: 1.0.0
extends: openapi/mastercard-donor-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: 15
- target: $.paths['/donors/{donor_id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a donor's profile
      effect: read
      questions:
      - How do I look up a donor's profile on the donation platform?
      - Is the donor's full profile encrypted when fetched?
      instructions:
      - text: Get donor {donor_id}.
        slots:
          donor_id: path.donor_id
      - text: Fetch the profile of donor {donor_id}.
        slots:
          donor_id: path.donor_id
      method: generated
      generated: '2026-11-21'
- target: $.paths['/donors/{donor_id}'].put
  update:
    x-apievangelist-phrasing:
      intent: Update a donor's profile
      effect: write
      questions:
      - How do I change a donor's email or address on the platform?
      - Can I update a donor's password or locale?
      instructions:
      - text: Update donor {donor_id} with name {name}, email {emails}, username {username}, locale {locale} and consents {acceptedConsents}.
        slots:
          donor_id: path.donor_id
          name: requestBody.name
          emails: requestBody.emails
          username: requestBody.username
          locale: requestBody.locale
          acceptedConsents: requestBody.acceptedConsents
      - text: Change the password of donor {donor_id} to {password}.
        slots:
          donor_id: path.donor_id
          password: requestBody.password
      method: generated
      generated: '2026-11-21'
- target: $.paths['/donors/{donor_id}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete a donor's profile
      effect: destructive
      questions:
      - How do I remove a donor's profile from the platform?
      - Can I delete a donor's account entirely?
      instructions:
      - text: Delete donor {donor_id}.
        slots:
          donor_id: path.donor_id
      - text: Remove donor {donor_id} from the donation platform.
        slots:
          donor_id: path.donor_id
      method: generated
      generated: '2026-11-21'
- target: $.paths['/donors/{donor_id}/cards'].get
  update:
    x-apievangelist-phrasing:
      intent: List a donor's saved cards
      effect: read
      questions:
      - Which cards has a donor saved on the platform?
      - Can I see all cards attached to one donor?
      instructions:
      - text: List all cards saved by donor {donor_id}.
        slots:
          donor_id: path.donor_id
      - text: Show every card on donor {donor_id}'s account.
        slots:
          donor_id: path.donor_id
      method: generated
      generated: '2026-11-21'
- target: $.paths['/donors/{donor_id}/cards'].post
  update:
    x-apievangelist-phrasing:
      intent: Add a card to a donor's account
      effect: write
      questions:
      - How does a donor add a card to their account?
      - Can I save a cardholder's name and expiry with the card?
      instructions:
      - text: Add card {primaryAccountNumber} with expiry {expiryInfo} and holder {cardholderName} to donor {donor_id}.
        slots:
          primaryAccountNumber: requestBody.primaryAccountNumber
          expiryInfo: requestBody.expiryInfo
          cardholderName: requestBody.cardholderName
          donor_id: path.donor_id
      - text: Save a new card for donor {donor_id} under alias {cardAlias}.
        slots:
          donor_id: path.donor_id
          cardAlias: requestBody.cardAlias
      method: generated
      generated: '2026-11-21'
- target: $.paths['/donors/{donor_id}/cards/searches'].post
  update:
    x-apievangelist-phrasing:
      intent: Find a donor's card by PAN
      effect: read
      questions:
      - Can I find a donor's card using just the card number?
      - What happens if a donor tries to add a card that's already on file?
      instructions:
      - text: Search donor {donor_id}'s cards for PAN {primaryAccountNumber}.
        slots:
          donor_id: path.donor_id
          primaryAccountNumber: requestBody.primaryAccountNumber
      - text: Find the card with number {primaryAccountNumber} on donor {donor_id}'s account.
        slots:
          primaryAccountNumber: requestBody.primaryAccountNumber
          donor_id: path.donor_id
      method: generated
      generated: '2026-11-21'
- target: $.paths['/donors/{donor_id}/cards/{card_id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get one saved card
      effect: read
      questions:
      - How do I fetch a single saved card by its ID?
      - What details come back for one card on a donor's account?
      instructions:
      - text: Get card {card_id} from donor {donor_id}.
        slots:
          card_id: path.card_id
          donor_id: path.donor_id
      - text: Show saved card {card_id} on donor {donor_id}'s account.
        slots:
          card_id: path.card_id
          donor_id: path.donor_id
      method: generated
      generated: '2026-11-21'
- target: $.paths['/donors/{donor_id}/cards/{card_id}'].put
  update:
    x-apievangelist-phrasing:
      intent: Update a saved card
      effect: write
      questions:
      - Can I change the cardholder name or expiry on a saved card?
      - How do I update a card's details after it's been added?
      instructions:
      - text: Update card {card_id} on donor {donor_id} to holder {cardholderName} with PAN {primaryAccountNumber} and source {primaryAccountNumberSource}.
        slots:
          card_id: path.card_id
          donor_id: path.donor_id
          cardholderName: requestBody.cardholderName
          primaryAccountNumber: requestBody.primaryAccountNumber
          primaryAccountNumberSource: requestBody.primaryAccountNumberSource
      - text: Change the expiry on card {card_id} for donor {donor_id}.
        slots:
          card_id: path.card_id
          donor_id: path.donor_id
      method: generated
      generated: '2026-11-21'
- target: $.paths['/donors/{donor_id}/cards/{card_id}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Remove a saved card
      effect: destructive
      questions:
      - How do I delete a card from a donor's account?
      - Can a donor remove a saved card they no longer use?
      instructions:
      - text: Delete card {card_id} from donor {donor_id}.
        slots:
          card_id: path.card_id
          donor_id: path.donor_id
      - text: Remove saved card {card_id} on donor {donor_id}'s account.
        slots:
          card_id: path.card_id
          donor_id: path.donor_id
      method: generated
      generated: '2026-11-21'
- target: $.paths['/donors/{donor_id}/setups'].get
  update:
    x-apievangelist-phrasing:
      intent: List a donor's recurring donation setups
      effect: read
      questions:
      - Which monthly or micro-donation setups does a donor have?
      - Can I page through a donor's recurring donation setups?
      instructions:
      - text: List all recurring donation setups for donor {donor_id}.
        slots:
          donor_id: path.donor_id
      - text: Show {limit} donation setups for donor {donor_id} starting at {offset}.
        slots:
          limit: query.limit
          donor_id: path.donor_id
          offset: query.offset
      method: generated
      generated: '2026-11-21'
- target: $.paths['/donors/{donor_id}/setups'].post
  update:
    x-apievangelist-phrasing:
      intent: Set up a monthly or micro-donation
      effect: write
      questions:
      - How do I set up a monthly donation from a donor's card?
      - Can a donor choose a maximum cap on micro-donations?
      instructions:
      - text: Set up a {donationType} donation of {amount} from donor {donor_id} on card {cardId} to charity {charityId}.
        slots:
          donationType: requestBody.donationType
          amount: requestBody.amount
          donor_id: path.donor_id
          cardId: requestBody.cardId
          charityId: requestBody.charityId
      - text: Start a monthly donation of {amount} from donor {donor_id} with card {cardId} and charity {charityId}, capped at {maxCap}.
        slots:
          amount: requestBody.amount
          donor_id: path.donor_id
          cardId: requestBody.cardId
          charityId: requestBody.charityId
          maxCap: requestBody.maxCap
      method: generated
      generated: '2026-11-21'
- target: $.paths['/donors/{donor_id}/setups/{donation_setup_id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a recurring donation setup
      effect: read
      questions:
      - How do I view the details of one recurring donation setup?
      - What amount and charity does a specific setup fund?
      instructions:
      - text: Get donation setup {donation_setup_id} for donor {donor_id}.
        slots:
          donation_setup_id: path.donation_setup_id
          donor_id: path.donor_id
      - text: Show the details of recurring donation {donation_setup_id} on donor {donor_id}'s account.
        slots:
          donation_setup_id: path.donation_setup_id
          donor_id: path.donor_id
      method: generated
      generated: '2026-11-21'
- target: $.paths['/donors/{donor_id}/setups/{donation_setup_id}'].put
  update:
    x-apievangelist-phrasing:
      intent: Update a recurring donation setup
      effect: write
      questions:
      - Can I change the amount of an existing monthly donation?
      - How do I raise the cap on a micro-donation setup?
      instructions:
      - text: Change donation setup {donation_setup_id} for donor {donor_id} to {amount}.
        slots:
          donation_setup_id: path.donation_setup_id
          donor_id: path.donor_id
          amount: requestBody.amount
      - text: Set the cap on setup {donation_setup_id} of donor {donor_id} to {maxCap}.
        slots:
          donation_setup_id: path.donation_setup_id
          donor_id: path.donor_id
          maxCap: requestBody.maxCap
      method: generated
      generated: '2026-11-21'
- target: $.paths['/donors/{donor_id}/setups/{donation_setup_id}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Cancel a recurring donation setup
      effect: destructive
      questions:
      - How do I stop a monthly or micro-donation setup?
      - Can I delete a recurring donation setup by its ID?
      instructions:
      - text: Delete donation setup {donation_setup_id} from donor {donor_id}.
        slots:
          donation_setup_id: path.donation_setup_id
          donor_id: path.donor_id
      - text: Cancel recurring donation {donation_setup_id} on donor {donor_id}'s account.
        slots:
          donation_setup_id: path.donation_setup_id
          donor_id: path.donor_id
      method: generated
      generated: '2026-11-21'
- target: $.paths['/donors/{donor_id}/transactions'].post
  update:
    x-apievangelist-phrasing:
      intent: Get a donor's donation history
      effect: read
      questions:
      - What donations has a donor made over a date range?
      - Can I filter a donor's donation history by charity or card?
      instructions:
      - text: Get donation history for donor {donor_id} from {fromDate} to {toDate}.
        slots:
          donor_id: path.donor_id
          fromDate: requestBody.fromDate
          toDate: requestBody.toDate
      - text: Show {donationType} donations by donor {donor_id} from {fromDate} to {toDate} for charity {charityId}.
        slots:
          donationType: requestBody.donationType
          donor_id: path.donor_id
          fromDate: requestBody.fromDate
          toDate: requestBody.toDate
          charityId: requestBody.charityId
      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-donor-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.