Mastercard · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Mastercard ID for Trust Providers Documents API

6 actions 6 updates phrasing extends openapi/mastercard-documents-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['/document-verifications/document-data-retrievals'].put
$.paths['/document-verifications/document-data-retrievals'].post
$.paths['/document-verifications/document-data-confirmations'].post
$.paths['/document-verifications/identity-attributes'].put
$.paths['/document-verifications/update-id-confirmations'].put

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 ID for Trust Providers Documents API
  version: 1.0.0
extends: openapi/mastercard-documents-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['/document-verifications/document-data-retrievals'].put
  update:
    x-apievangelist-phrasing:
      intent: Check a multi-document verification
      effect: read
      questions:
      - Is the verification still pending for the additional document?
      - Can I retrieve the details of a multi-document verification?
      instructions:
      - text: Check the multi-document verification {workflowId} for user {userProfileId}.
        slots:
          workflowId: requestBody.workflowId
          userProfileId: requestBody.userProfileId
      - text: Retrieve the additional document details for {workflowId} in {countryCode}.
        slots:
          workflowId: requestBody.workflowId
          countryCode: requestBody.countryCode
      method: generated
      generated: '2026-11-21'
- target: $.paths['/document-verifications/document-data-retrievals'].post
  update:
    x-apievangelist-phrasing:
      intent: Check a document verification status
      effect: read
      questions:
      - Has my user's ID verification finished processing yet?
      - Can I get the actual document data once a verification succeeds?
      instructions:
      - text: Check the document verification status for workflow {workflowId}.
        slots:
          workflowId: requestBody.workflowId
      - text: Retrieve the {documentType} data for user {userProfileId} in {countryCode}.
        slots:
          documentType: requestBody.documentType
          userProfileId: requestBody.userProfileId
          countryCode: requestBody.countryCode
      method: generated
      generated: '2026-11-21'
- target: $.paths['/document-verifications/document-data-confirmations'].post
  update:
    x-apievangelist-phrasing:
      intent: Confirm extracted document details
      effect: write
      questions:
      - After the user checks the extracted data, how do I confirm it?
      - Can I store the document details into the PDS?
      instructions:
      - text: Confirm the extracted document data {documentData} for {userProfileId}.
        slots:
          documentData: requestBody.documentData
          userProfileId: requestBody.userProfileId
      - text: Store the document details {documentData} in the PDS for {userProfileId}.
        slots:
          documentData: requestBody.documentData
          userProfileId: requestBody.userProfileId
      method: generated
      generated: '2026-11-21'
- target: $.paths['/document-verifications/identity-attributes'].put
  update:
    x-apievangelist-phrasing:
      intent: Resolve a conflict between identity attributes
      effect: write
      questions:
      - How do I send back the user's confirmed values to resolve an identity attribute conflict?
      - Can I submit the user's preferred values for conflicting identity attributes?
      - What do I need to send to finish resolving an attribute conflict during document verification?
      instructions:
      - text: Resolve the identity attribute conflict using the user's chosen values {identityAttributes}.
        slots:
          identityAttributes: requestBody.identityAttributes
      - text: Confirm the conflicting attributes {identityAttributes} with PDS {pds} and record that the user consented with {userConsent}.
        slots:
          identityAttributes: requestBody.identityAttributes
          pds: requestBody.pds
          userConsent: requestBody.userConsent
      method: generated
      generated: '2026-11-21'
- target: $.paths['/document-verifications/update-id-confirmations'].put
  update:
    x-apievangelist-phrasing:
      intent: Confirm the identity was stored to the PDS
      effect: write
      questions:
      - After the user confirms the PDS update, how do I delete the verification data?
      - Can I mark the identity as stored to the PDS?
      instructions:
      - text: Confirm the identity was stored to the PDS for {userProfileId} in {countryCode}.
        slots:
          userProfileId: requestBody.userProfileId
          countryCode: requestBody.countryCode
      - text: Mark the identity as stored for {userProfileId} with event type {eventType}.
        slots:
          userProfileId: requestBody.userProfileId
          eventType: requestBody.eventType
      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-documents-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.