Mastercard Payments API is one of 249 APIs that Mastercard publishes on the APIs.io network, described by a machine-readable OpenAPI specification.
Tagged areas include Payments. 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
17 operations
across 17 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.
17 operations17 paths91 schemas1 DELETE1 GET15 POST
Metadata
The identity and technical contract details declared by the specification.
Across 17 paths, the API surfaces 17 operations — 1 DELETE, 1 GET, 15 POST. Each is listed below with its method, path, parameters, and response codes.
Mastercard Refund Request Status Retrieval Request
retrieveRefundStatus7 paramsbody→ 200400401
Schemas 91
The contract defines 91 schemas that model the data the API accepts and returns. The most detailed are TransactionAcknowledgement (14 properties), TransactionMetadata (14 properties), TransactionForPAL (10 properties), CreditorAckForPaymentRetrieval (8 properties). Each schema is shown below with its type and property counts.
TransactionId
string
A unique ID associated with a payment transaction, For example, original payment transaction ID. The same ID will be returned in the response corresponding to…
X-MC-Correlation-ID
string
AggregateSearchCriteria
object
Request object which holds the criteria (that is, list of payment card IDs and aggregate type) for retrieving aggregate transactions.
5 properties2 required
PaymentCard
object
The request object for registering a new Payment Card. This object will be encrypted before sending it to the server.
2 properties2 required
TransactionMetadata
object
Metadata about a transaction.
14 properties10 required
PaymentCardEnrolment
object
The response object which contains Payment Card information.
5 properties
PaymentCardId
string
Unique ID provided in the response while registering a payment card.
PaymentCardReference
object
Reference information for a Payment Card generated after a successful registration. This information should be used to perform the further operation for that c…
4 properties4 required
ErrorWrapper
object
The error response object gets returned in case of any error.
1 property1 required
HistoricalTransactionFootprint
object
A single transaction footprint along with transaction info for a corresponding payment transaction.
2 properties2 required
TransactionFootprint
object
A single transaction footprint calculated for a corresponding payment transaction.
2 required
Category
object
User understandable information about an MCC categorization.
4 properties
HistoricalTransactionFootprints
object
Response object which holds all the transaction footprints for historical transactions.
5 properties
CarbonUsage
object
Object to hold carbon usage data.
2 properties
AggregateTransactionFootprints
object
List of AggregateTransactionFootprint.
2 properties1 required
Errors
object
Error object which returns a list of Error objects.
1 property1 required
AggregateTransactionFootprint
object
Aggregate transaction footprint for a single payment card ID.
2 properties2 required
ErrorList
array
CrossPANAggregation
object
Cross PAN aggregated carbon footprint for given aggregate type.
1 property
Day
string
PaymentCardEnrolments
array
List of payment card enrolments corresponding to each of the payment cards. This information should be used to identify the success and failure enrolments and…
FootprintAggregation
object
Aggregation of carbon score for a payment card ID and given aggregation level.
CurrencyCode
string
Currency code as per ISO 4217
Error
object
Error object which contains details about the error.
5 properties4 required
CardCvcGuest
object
3 properties
Error-415
object
1 property1 required
3ds2
object
Required If authPayerResponse object is passed, only for MPGS.
2 properties1 required
User
object
3 properties2 required
Error-401
object
1 property1 required
Authentication
object
2 properties
Error-403
object
1 property1 required
Error-201
object
1 property1 required
OneTimePaymentSuccess
object
3 properties
GuestDonate
object
5 properties3 required
AuthPayerResponse
object
1 property
cardExpiry
object
2 properties
Donation
object
3 properties3 required
GuestDonation
object
3 properties
CardCVC
object
Cvc is a unique number.NOTE In case of card not added already then primaryAccountNumber and cardExpiry are required and cardCvc is conditional, optional for St…
3 properties
Error-404
object
1 property1 required
3ds
object
Required If authPayerResponse object is passed.
4 properties3 required
Error-500
object
1 property1 required
RealTimePayment
object
7 properties2 required
SessionDetails
object
1 property
Error_2
object
1 property1 required
CreditorAckForPaymentRetrieval
object
8 properties4 required
NewPaymentRequestDetailRetrieval
Status
object
2 properties1 required
Refund
object
6 properties4 required
ErrorList_2
array
The list of errors
CreditorForPAL
object
5 properties2 required
TransactionForPaymentRetrieval
object
5 properties3 required
NewRefundRequestStatusRetrieval
NewPaymentRequest
PaymentConfirmationAdvice
AgreementStatus
object
2 properties2 required
NewRefundAccount
PaymentRequest
RefundAccount
NewPaymentConfirmationAdvice
StepUpNotification
PaymentRequestDetailRetrieval
Errors_2
object
Object that contains the list of errors
1 property1 required
RequestStatus
object
1 property1 required
DebtorForSRR
object
2 properties2 required
MessageRequestBlock
object
4 properties4 required
TransactionForPAL
object
10 properties7 required
Payment
object
4 properties4 required
status
object
2 properties1 required
NewStepUpNotification
TransactionAckForPAL
object
6 properties3 required
CreditorForSRR
object
2 properties2 required
RefundPaymentAdviseConfirmation
PaymentRequestStatusRetrievalAck
NewRefundPaymentConfirmation
NewPaymentRequestStatusRetrieval
TransactionForStepUpNotification
object
3 properties2 required
CreditorForRefund
object
2 properties2 required
RefundAcknowledgement
object
2 properties2 required
RefundRequestStatusRetrievalAck
refundPayment
object
3 properties3 required
DebtorAckForPaymentRetrieval
object
2 properties2 required
MessageResponseBlock
object
4 properties4 required
TransactionAcknowledgement
object
14 properties9 required
Debtor
object
2 properties2 required
AgreementConForPaymentAdvice
object
Agreement Confirmation from DSP
3 properties1 required
ErrorWrapper_2
object
A top level object for errors
1 property1 required
Amount
object
2 properties2 required
MessageResponseBlock_2
object
4 properties4 required
AgreementAcknowledgement
object
2 properties2 required
Error_3
object
A single error
5 properties
Specification
The full machine-readable OpenAPI contract behind this narrative.
Every API here is available over the API and to AI agents over MCP. APIs is not yet its own endpoint on the v1 API. Reach this content through network search and the tag graph, or the MCP server below.
Installs https://mcp.apievangelist.com/mcp in Claude, Cursor, VS Code and the rest — one button, every client.
MCP tools for apis
4 tools reach this content
search_api_evangelistSearch every content type across the network at once.
find_relatedThe shared-tag relevance graph — what else covers this.
get_tagEverything one tag labels, across all content types.
guide_topicPRO — a curated bundle for a topic: area, guidance, rules, papers, stories, services.
A second provider on the same verified email joins the account you already have.
Your account
ⓘWhere this information came from
This is an independent, third-party profile of Mastercard Payments 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.