How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Mastercard Donations API

The Donations API from Mastercard — 6 operation(s) for donations.

Mastercard Donations API is one of 249 APIs that Mastercard publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Donations. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, code examples, a changelog, a support channel, and a getting-started guide.

This API exposes 8 operations across 6 paths, and defines 35 schemas. It is described by OpenAPI 2.0, at version 1.0.

Requests are made against the base URL https://api.example.com.

8 operations 6 paths 35 schemas 1 DELETE3 GET3 POST1 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 2.0
API Version
1.0
Base URL
https://api.example.com
Resource Areas
1

Paths & Operations 8

Across 6 paths, the API surfaces 8 operations — 1 DELETE, 3 GET, 3 POST, 1 PUT. Each is listed below with its method, path, parameters, and response codes.

Donations 8
GET
/donors/{donor_id}/setups/{donation_setup_id}
Get Recurring Donation
retriveDonationSetupByIdUsingGET 5 params → 200400401403500
PUT
/donors/{donor_id}/setups/{donation_setup_id}
Update Recurring Donation
updateDonationSetupUsingPUT 5 params body → 200400401403500
DELETE
/donors/{donor_id}/setups/{donation_setup_id}
Delete Recurring Donation
deleteDonationSetupUsingDELETE 5 params → 204400401403500
GET
/donations/non-ma/setup/cards
Get All Non Mastercard Brand Cards API
fetchDonationNonMA 3 params → 200400401403500
GET
/donations/transactions
Donation Transaction Status
fetchDonationTransactionStatusGET 3 params → 200400401403500
POST
/donations/program/{programId}/transactions
Program Transaction History API
getProgramTransactionHistoryUsingPOST 6 params body → 200201400401403404415500
POST
/donations/non-ma/transactions
Upload Non Mastercard Brand Card transactions API
uploadDonationNonMA 3 params body → 200400401403500
POST
/donations/record
Record API
recordApi 2 params body → 200400401403404415500

Schemas 35

The contract defines 35 schemas that model the data the API accepts and returns. The most detailed are DonationHistoryRes (16 properties), RecordApi (12 properties), ProgramTransactionHistory (9 properties), RetrieveDonateSetUpDetails (8 properties). Each schema is shown below with its type and property counts.

RetrieveDonateSetUpDetails
object
8 properties
Error-415
object
1 property 1 required
3ds2
object
Required If authPayerResponse object is passed, only for MPGS.
2 properties 1 required
Error-InternalServerError
object
1 property 1 required
Error-IncorrectNonMACardTransactionData
object
1 property 1 required
Error-DonationTransactionStatus
object
1 property 1 required
CardItems
object
2 properties
Customer
object
3 properties 2 required
Error-401
object
1 property 1 required
Error-Record
object
1 property 1 required
Authentication
object
2 properties
Error-403
object
1 property 1 required
ProgramTransactionHistoryPaged
object
6 properties
Partner
object
3 properties 2 required
Error-201
object
1 property 1 required
AuthPayerResponse
object
1 property
PagedResult_RealTimeTransaction_ProgramTransactionHistoryResponse_
object
ONE-TIME or Monthly transactions will be returned in list,because for monthly setup one real time transaction happens and then monthly donation is started
4 properties
ProgramTransactionHistory
object
9 properties 2 required
DonateSetup
object
6 properties
DonationHistoryRes
object
16 properties
Transactions
object
3 properties 3 required
RecordApi
object
12 properties 6 required
Error-InvalidProgramId
object
1 property 1 required
RetrieveNonMABrandCards
object
2 properties
DonateSetupUpdate
object
3 properties 1 required
RetrieveTransactionStatus
object
3 properties
Merchant
object
2 properties
Error-404
object
1 property 1 required
3ds
object
Required If authPayerResponse object is passed.
4 properties 3 required
UploadNonMACardTrxRequest
object
2 properties 2 required
UploadNonMACardResponse
string
TransactionsSummary
object
3 properties 3 required
PagedResult_RecurringTransaction_ProgramTransactionHistoryResponse_
object
All Micro OR Monthly transactions will be returned in list
4 properties
Error-500
object
1 property 1 required
Error
object
1 property 1 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

mastercard-donations-api-openapi.yml Raw ↑

Other APIs Mastercard publishes across the network.

Mastercard Universal Specification Submission API
Mastercard Account to Account Commerce for Creditor Service Providers
Mastercard Debtor Service Provider Resources API
Mastercard Automatic Billing Updater API
Mastercard Benefit Eligibility Service API
Mastercard Bill Pay API
Mastercard Bill Payment Validator
Mastercard BIN Lookup API
Mastercard Business Payment Controls
Mastercard Carbon Calculator API
Mastercard Carbon Calculator Experience API
Mastercard Checkout Solutions
Where this information came from

This is an independent, third-party profile of Mastercard Donations API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.