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

The Service API from Mastercard — 3 operation(s) for service.

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

Tagged areas include Service. 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 3 paths, and defines 12 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 3 paths 12 schemas 1 DELETE1 GET1 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 4

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

Service 4
GET
/service-providers
Fetches an existing Service Provider
GetServiceProviderById → 200404
PUT
/service-providers
Updates an existing Service Provider details
UpdateServiceProvider body → 200400404415
POST
/service-providers/payment-cards
Bulk Registration of Payment Cards
BulkRegisterPaymentCards body → 200400404
DELETE
/service-providers/payment-cards/{payment_card_id}
Delete a Payment Card
PaymentCardDeletion 1 param → 202400404

Schemas 12

The contract defines 12 schemas that model the data the API accepts and returns. The most detailed are ServiceProvider (9 properties), PaymentCardEnrolment (5 properties), Error (5 properties), ServiceProviderConfig (4 properties). Each schema is shown below with its type and property counts.

X-MC-Correlation-ID
string
ServiceProvider
object
Information about a Service Provider as available on the server.
9 properties 4 required
ServiceProviderConfig
object
Configuration details for a Service Provider
4 properties
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.
ErrorWrapper
object
The error response object gets returned in case of any error.
1 property 1 required
Errors
object
Error object which returns a list of Error objects.
1 property 1 required
ErrorList
array
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-service-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 Service 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.