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

The Data API from Mastercard — 8 operation(s) for data.

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

Tagged areas include Data. 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 5 operations across 5 paths, and defines 23 schemas. It is described by OpenAPI 3.2.0, at version 1.0.

Requests are made against 8 base URLs: https://api.mastercard.com/idservice, https://sandbox.api.mastercard.com/idservice, https://api.mastercard.com.au/idservice, https://sandbox.api.mastercard.com.au/idservice, https://api.mastercard.com.au/idverify, https://sandbox.api.mastercard.com.au/idverify, https://api.mastercard.com/loyalty/insurance, https://sandbox.api.mastercard.com/loyalty/insurance.

5 operations 5 paths 23 schemas 1 GET4 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
1.0
Base URL
https://api.mastercard.com/idservice
Resource Areas
1

Paths & Operations 5

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

Data 5
POST
/tp-data-shares
Add an Independently Validated Phone Number
updatePdsData 2 params body → 200400401403404
POST
/data-extractions/access-tokens
The provider token is retrieved by country code and SDK version
retrieveDataExtractionAccessToken 1 param body → 200400
POST
/data-extractions/facematch
Verifies the details of a selfie with an identity verification provider
facematchVerification 1 param body → 200400403
GET
/data-extractions/scans/{scan_id}
Returns the status of the document verification
extractScannedDocumentData 8 params → 200400403404
POST
/user-data-tokens
Mastercard Create a User Data Token Which Is Used in the Redirection Url That…
createUserToken body → 200400401

Schemas 23

The contract defines 23 schemas that model the data the API accepts and returns. The most detailed are DocumentVerificationExtractedDataDocumentData (29 properties), SubmitClaimUserData (11 properties), RetrieveAccessToken (11 properties), AddressData (6 properties). Each schema is shown below with its type and property counts.

AddressData
object
6 properties
Email
object
2 properties 2 required
TpDataShare
object
6 properties 3 required
ErrorResponse
object
The error response model used by all the API endpoints.
1 property 1 required
Address
1 required
Phone
object
2 properties 2 required
TPDataShareSuccessData
object
1 property
PDS
string
Encrypted Personal Device Storage (PDS) which hosts the users identity attributes. The PDS can be retrieved from the MIDS Core SDK, please refer to the SDK gui…
UserConsent
string
Confirmation provided by the TP that the user has consented that the ID-Network can have access to their identity for the purposes of the API call. Should be A…
ErrorList
array
Error Details.
DocumentVerificationExtractedDataDocumentData
object
Document Data.
29 properties 10 required
Error
object
5 properties
RetrieveAccessToken
object
11 properties 2 required
Errors
object
List of Errors.
1 property 1 required
SelfieVerificationRequest
object
4 properties 4 required
ApiError
object
1 property 1 required
AccessToken
object
6 properties 3 required
FacematchSourceVerificationResult
object
3 properties 3 required
DocumentVerificationExtractedData
object
3 properties 2 required
SubmitClaimUserToken
object
1 property
SubmitClaimUserData
object
11 properties 1 required
ErrorItems
object
1 property 1 required
ErrorItem
object
5 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

mastercard-data-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 Data 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.