Mastercard · OpenAPI Overlay 1.0.0
API Evangelist conversational phrasing for Mastercard Donate Donations API
6 actions
6 updates
phrasing
extends
openapi/mastercard-donations-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.
What the actions change
x-apievangelist-phrasing
Targets 6
$.info
$.paths['/donations/non-ma/setup/cards'].get
$.paths['/donations/transactions'].get
$.paths['/donations/program/{programId}/transactions'].post
$.paths['/donations/non-ma/transactions'].post
$.paths['/donations/record'].post
OpenAPI Overlay
# 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 Donations API
version: 1.0.0
extends: openapi/mastercard-donations-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: 5
- target: $.paths['/donations/non-ma/setup/cards'].get
update:
x-apievangelist-phrasing:
intent: List non-Mastercard cards registered for donations
effect: read
questions:
- Which cards not issued by Mastercard have been registered for donation?
- Can I get every non-MA card linked to my program?
instructions:
- text: List all non-Mastercard brand cards registered for donations.
- text: Download the non-MA card setup for program {ProgramId}.
slots:
ProgramId: header.ProgramId
method: generated
generated: '2026-11-21'
- target: $.paths['/donations/transactions'].get
update:
x-apievangelist-phrasing:
intent: Check a donation transaction's status
effect: read
questions:
- Has a particular donation transaction gone through?
- Can I look up a donation by its transaction ID or correlation ID?
instructions:
- text: Get the status of donation transaction {transactionId}.
slots:
transactionId: query.transactionId
- text: Check donation {correlationId} using its correlation ID.
slots:
correlationId: query.correlationId
method: generated
generated: '2026-11-21'
- target: $.paths['/donations/program/{programId}/transactions'].post
update:
x-apievangelist-phrasing:
intent: Get a program's donation transaction history
effect: read
questions:
- What donations have been made to my program this month?
- Can I filter a program's transaction history by charity or donation type?
instructions:
- text: Get donation transactions for program {programId} from {fromDate} to {toDate}.
slots:
programId: path.programId
fromDate: requestBody.fromDate
toDate: requestBody.toDate
- text: Show {donationType} donations to charity {charityId} in program {programId} between {fromDate} and {toDate}.
slots:
donationType: requestBody.donationType
charityId: requestBody.charityId
programId: path.programId
fromDate: requestBody.fromDate
toDate: requestBody.toDate
method: generated
generated: '2026-11-21'
- target: $.paths['/donations/non-ma/transactions'].post
update:
x-apievangelist-phrasing:
intent: Upload non-Mastercard brand card transactions
effect: write
questions:
- How do I send non-Mastercard purchase transactions to the donation platform?
- Can I upload a batch of non-MA card transactions?
instructions:
- text: Upload non-Mastercard transactions {transactionsSummary} for program {ProgramId}.
slots:
transactionsSummary: requestBody.transactionsSummary
ProgramId: header.ProgramId
- text: Record {currencyCode} non-MA card transactions {transactionsSummary}.
slots:
currencyCode: requestBody.currencyCode
transactionsSummary: requestBody.transactionsSummary
method: generated
generated: '2026-11-21'
- target: $.paths['/donations/record'].post
update:
x-apievangelist-phrasing:
intent: Record an external donation
effect: write
questions:
- How do I store a donation made outside the platform?
- Can I record a donation by charity name and amount?
instructions:
- text: Record a {donationType} donation of {amount} to {charityName} on {transactionDate} with transaction {transactionId}.
slots:
donationType: requestBody.donationType
amount: requestBody.amount
charityName: requestBody.charityName
transactionDate: requestBody.transactionDate
transactionId: requestBody.transactionId
- text: Store external donation {transactionId} to charity {charityId} for {amount} in {currency}.
slots:
transactionId: requestBody.transactionId
charityId: requestBody.charityId
amount: requestBody.amount
currency: requestBody.currency
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.
Call it yourself
curl for this page
This overlay
curl "https://apis.io/api/v1/overlays/mastercard-donations-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.