Mastercard · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Mastercard Data API

6 actions 6 updates phrasing extends openapi/mastercard-data-api-openapi.yml
Generated by API Evangelist Written by API Evangelist tooling for Mastercard's API. It is a proposal applied on top of the contract, not a document Mastercard publishes.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 6

$.info
$.paths['/tp-data-shares'].post
$.paths['/data-extractions/access-tokens'].post
$.paths['/data-extractions/facematch'].post
$.paths['/data-extractions/scans/{scan_id}'].get
$.paths['/user-data-tokens'].post

OpenAPI Overlay

Raw ↑
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
  title: API Evangelist conversational phrasing for Mastercard Data API
  version: 1.0.0
extends: openapi/mastercard-data-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-11-21'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 5
- target: $.paths['/tp-data-shares'].post
  update:
    x-apievangelist-phrasing:
      intent: Share a user's identity attributes
      effect: write
      questions:
      - How do I share a user's phone number with the ID Network?
      - Can I add an independently validated phone number without a minimum authentication standard?
      instructions:
      - text: Share the user's identity attributes {pds} with the ID Network for user {userProfileId}.
        slots:
          pds: requestBody.pds
          userProfileId: requestBody.userProfileId
      - text: Add phone {phone} to the user's profile {userProfileId}.
        slots:
          phone: requestBody.phone
          userProfileId: requestBody.userProfileId
      method: generated
      generated: '2026-11-21'
- target: $.paths['/data-extractions/access-tokens'].post
  update:
    x-apievangelist-phrasing:
      intent: Get a token for document extraction
      effect: read
      questions:
      - How do I get a provider token for the ID-V SDK?
      - Can I request a data extraction token for a specific country and SDK version?
      instructions:
      - text: Get a data extraction access token for {countryCode} on {channelType}.
        slots:
          countryCode: requestBody.countryCode
          channelType: requestBody.channelType
      - text: Request a {livenessType} token for {countryCode} using SDK version {sdkVersion}.
        slots:
          livenessType: requestBody.livenessType
          countryCode: requestBody.countryCode
          sdkVersion: requestBody.sdkVersion
      method: generated
      generated: '2026-11-21'
- target: $.paths['/data-extractions/facematch'].post
  update:
    x-apievangelist-phrasing:
      intent: Verify a selfie against an ID provider
      effect: read
      questions:
      - How do I verify a user's selfie against their ID document?
      - Can I choose between liveness assurance and genuine presence assurance for a face match?
      instructions:
      - text: Verify selfie {selfie} for account {accountId} using {livenessType} on {channelType}.
        slots:
          selfie: requestBody.selfie
          accountId: requestBody.accountId
          livenessType: requestBody.livenessType
          channelType: requestBody.channelType
      - text: Run a face match on {channelType} for user {accountId} with {livenessType} and selfie {selfie}.
        slots:
          channelType: requestBody.channelType
          accountId: requestBody.accountId
          livenessType: requestBody.livenessType
          selfie: requestBody.selfie
      method: generated
      generated: '2026-11-21'
- target: $.paths['/data-extractions/scans/{scan_id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Check a scanned document's verification status
      effect: read
      questions:
      - Has the scanned ID document been verified yet?
      - Can I retrieve the selfie and facemap along with the document scan status?
      instructions:
      - text: Check the status of document scan {scan_id} with consent {user_consent}.
        slots:
          scan_id: path.scan_id
          user_consent: query.user_consent
      - text: Get the scanned document {scan_id} with consent {user_consent} and retrieve selfie {retrieve_selfie}.
        slots:
          scan_id: path.scan_id
          user_consent: query.user_consent
          retrieve_selfie: query.retrieve_selfie
      method: generated
      generated: '2026-11-21'
- target: $.paths['/user-data-tokens'].post
  update:
    x-apievangelist-phrasing:
      intent: Create a user data token for a claim
      effect: write
      questions:
      - How do I get a user data token for submitting an ID claim?
      - Can I attach a phone number and postal code to a data token?
      instructions:
      - text: Create a user data token for {pan}.
        slots:
          pan: requestBody.pan
      - text: Create a data token for {firstName} {lastName} at {addressLine1}, {city}, {state} {postalCode}, {country}.
        slots:
          firstName: requestBody.firstName
          lastName: requestBody.lastName
          addressLine1: requestBody.addressLine1
          city: requestBody.city
          state: requestBody.state
          postalCode: requestBody.postalCode
          country: requestBody.country
      method: generated
      generated: '2026-11-21'

Work with this as data

Every overlay here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for openapi overlays

4 MCP tools reach this
  • find_overlaysBrowse and filter every overlay in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This overlay
curl "https://apis.io/api/v1/overlays/mastercard-data-api-phrasing-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.