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 Transactions API

The Transactions API from Mastercard — 6 operation(s) for transactions.

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

Tagged areas include Transaction. 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 6 operations across 6 paths, and defines 91 schemas. It is described by OpenAPI 2.0, at version 1.0.

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

6 operations 6 paths 91 schemas 1 GET5 POST

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 6

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

Transactions 6
GET
/donations/transactions
Donation Transaction Status
fetchDonationTransactionStatusGET 3 params → 200400401403500
POST
/donors/{donor_id}/transactions
Donation History API
getDonationHistoryUsingPOST 6 params body → 200201400401403404415500
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
/api/orders
Searches order details based on the search criteria
getTransactionDetails 2 params body → 200400401403405
POST
/transactions
Mastercard Response Will Be Individual and Device Insights for Mvp.
retrieveTransactionInsights body → 200400401

Schemas 91

The contract defines 91 schemas that model the data the API accepts and returns. The most detailed are TransactionInsightsData (51 properties), Recurring (33 properties), Order (31 properties), AccountProfile (29 properties). Each schema is shown below with its type and property counts.

PagedResult_RealTimeTransaction_DonationHistoryResponse_
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
Error-415
object
1 property 1 required
Error-InternalServerError
object
1 property 1 required
Error-DonationTransactionStatus
object
1 property 1 required
Error-401
object
1 property 1 required
Error-403
object
1 property 1 required
ProgramTransactionHistoryPaged
object
6 properties
Error-201
object
1 property 1 required
PagedResult_RecurringTransaction_DonationHistoryResponse_
object
All Micro OR Monthly transactions will be returned in list
4 properties
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
DonationHistoryRes
object
16 properties
Transactions
object
3 properties 3 required
RetrieveTransactionStatus
object
3 properties
Error-404
object
1 property 1 required
UploadNonMACardTrxRequest
object
2 properties 2 required
DonationHistory
object
6 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
DonationHistoryPaged
object
2 properties
Error-IncorrectNonMACardTransactionData
object
1 property 1 required
Error
object
1 property 1 required
RequestReference
object
Request Information details, such as tracking details
6 properties
Payment
object
List of payments for the order (requires at least one, may repeat)
21 properties
OrderApi
object
2 properties 2 required
MerchantReceiptContact
object
4 properties
Loyalty
object
List of loyalty membership accounts that relate to the order
5 properties
OrderApiAcknowledgement
object
6 properties 1 required
VehicleRental
object
List of rental vehicle reservations
20 properties 5 required
Delivery
object
List of deliveries created for the order
3 properties
Lodging
object
List of accommodation rentals
15 properties 6 required
ResponseStatus
object
Result status of the request
3 properties 1 required
RelatedPurchase
object
Additional charges related to the property stay (such as restaurant charges, mini-bar, etc.)
7 properties
SearchCriteria
object
Parameters used to look up order
16 properties
AirTravel
object
List of air travel reservations
21 properties 6 required
Discount
object
List of discounts applied to the order
3 properties 3 required
Tax
object
3 properties 3 required
Passenger
object
The list of passengers flying on this particular flight
9 properties
DigitalDelivery
object
7 properties
Reservation
object
List of reservations created for the order
12 properties 4 required
ErrorResponse
object
Error response object
1 property 1 required
CustomData
object
2 properties
CardLastFour
string
Last four characters of the card used in the transaction
NameType
object
5 properties
CallToActionLink
object
2 properties 2 required
FacilitatorProfile
object
2 properties
CreditReimbursement
object
List of credits for the order
10 properties 2 required
TransactionDetails
object
Details about the order transaction aspects
14 properties
HistoricOrder
object
List of historic orders for this account.
14 properties
Refund
object
List of refunds made for the order
8 properties 3 required
Consequence
object
2 properties
PaymentType
string
The card brand or network as provided by the issuer Allowed values: - AMEX - DISCOVER - MC - VISA Definition of allowed values: - AMEX: American Express - DISC…
Usage
object
Item (product) usage details
5 properties
AccountProfile
object
29 properties
PhysicalDelivery
object
24 properties
MerchantProfile
object
15 properties
Errors
object
Errors object
1 property 1 required
OrderItem
object
List of items (products) included in the order (requires at least one, may repeat). This item identified one product of the list.
21 properties 3 required
Order
object
Contains items, payments, transaction details, shipping, and other information related to the order (purchase)
31 properties 6 required
MerchantCustomerServiceContact
object
5 properties
AddressType
object
9 properties
Recurring
object
Recurring product details
33 properties
CurrencyCode
string
Currency code applied to order. This currency will apply to all amount/price fields throughout entire payload. Must be three character ISO currency code (https…
Error_2
object
Error object
5 properties 1 required
BillingInsights
object
5 properties
Scores
object
2 properties
IdentityRisk
object
2 properties
ShippingInsights
object
4 properties
PrimaryEmail
object
8 properties
PhoneDetails
object
2 properties
Ip
object
4 properties
PaymentCard
object
2 properties
Phone
object
4 properties
EmailRiskScore
object
1 property
TransactionInsights
object
3 properties 1 required
IndividualInsights
object
The details associated with the individual insights.
12 properties
InsightFactor
integer
The insight factor is represented numerically using a range from 0 (no risk data) to 5 (high risk). Each numerical value and its associated risk representation…
ErrorResponse_2
object
The error response model used by all of our API endpoints
1 property 1 required
AccountDetails
object
4 properties
PaymentAmount
object
1 property
DeviceInfo
object
This field contains information related to the consumer device used to authorize with your product or service.
7 properties 3 required
Errors_2
object
The error response model used by all of our API endpoints
1 property 1 required
TrustFactor
integer
The trust factor value associated with the device.
Address
object
6 properties
IpRisk
object
1 property
DeviceInsights
object
The insights details associated with the device.
11 properties
RiskFactor
integer
The risk factor is represented numerically using a range from 0 (no risk data) to 5 (high risk). Each numerical value and its associated risk representation is…
TransactionInsightsData
object
51 properties 7 required
Error_3
object
5 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

mastercard-transactions-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 Transactions 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.