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 Payment Card API

The Payment Card API from Mastercard — 4 operation(s) for payment card.

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

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

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

4 operations 4 paths 19 schemas 1 GET3 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 4

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

Payment Card 4
POST
/service-providers/payment-cards
Bulk Registration of Payment Cards
BulkRegisterPaymentCards body → 200400404
GET
/payment-cards/{payment_card_id}/transaction-footprints
Fetches Historical Transactions and its Transaction Footprints
GetPaymentCardTransactionHistory 5 params → 200400404
POST
/payment-cards
Register a Payment Card (to be deprecated)
RegisterPaymentCard body → 200400404415
POST
/payment-card-enrolments
Batch Registration of Payment Cards (to be deprecated)
BatchRegisterPaymentCards body → 200400404415

Schemas 19

The contract defines 19 schemas that model the data the API accepts and returns. The most detailed are TransactionMetadata (14 properties), HistoricalTransactionFootprints (5 properties), PaymentCardEnrolment (5 properties), Error (5 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
TransactionMetadata
object
Metadata about a transaction.
14 properties 10 required
PaymentCard
object
The request object for registering a new Payment Card. This object will be encrypted before sending it to the server.
2 properties 2 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 properties 4 required
ErrorWrapper
object
The error response object gets returned in case of any error.
1 property 1 required
HistoricalTransactionFootprint
object
A single transaction footprint along with transaction info for a corresponding payment transaction.
2 properties 2 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
Errors
object
Error object which returns a list of Error objects.
1 property 1 required
ErrorList
array
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…
CurrencyCode
string
Currency code as per ISO 4217
Error
object
Error object which contains details about the error.
5 properties 4 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

mastercard-payment-card-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 Payment Card 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.