Mastercard · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Mastercard Lifecycle API

6 actions 6 updates phrasing extends openapi/mastercard-lifecycle-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['/payment-requests/{payment_request_lifecycle_id}/status-retrievals'].post
$.paths['/payment-requests/{payment_request_lifecycle_id}/refunds'].post
$.paths['/payment-requests/{payment_request_lifecycle_id}/refunds/{refund_request_lifecycle_id}/payment-confirmations'].post
$.paths['/payment-requests/{payment_request_lifecycle_id}/step-up-advices'].post
$.paths['/payment-requests/{payment_request_lifecycle_id}/refunds/{refund_request_lifecycle_id}/status-retrievals'].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 Lifecycle API
  version: 1.0.0
extends: openapi/mastercard-lifecycle-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['/payment-requests/{payment_request_lifecycle_id}/status-retrievals'].post
  update:
    x-apievangelist-phrasing:
      intent: Check the status of a payment request
      effect: read
      questions:
      - Has the payment request been processed yet?
      - Can I check the status of a payment request with a creditor?
      instructions:
      - text: Check the status of payment request {payment_request_lifecycle_id}.
        slots:
          payment_request_lifecycle_id: path.payment_request_lifecycle_id
      - text: Retrieve payment request {payment_request_lifecycle_id} status for creditor {creditor}.
        slots:
          payment_request_lifecycle_id: path.payment_request_lifecycle_id
          creditor: requestBody.creditor
      method: generated
      generated: '2026-11-21'
- target: $.paths['/payment-requests/{payment_request_lifecycle_id}/refunds'].post
  update:
    x-apievangelist-phrasing:
      intent: Get a debtor's refund account details
      effect: read
      questions:
      - Where should I send a refund to the debtor?
      - Can a creditor get the debtor's account details for a refund?
      instructions:
      - text: Get refund account details for payment request {payment_request_lifecycle_id}.
        slots:
          payment_request_lifecycle_id: path.payment_request_lifecycle_id
      - text: Retrieve the refund account for payment request {payment_request_lifecycle_id} from creditor {creditor}.
        slots:
          payment_request_lifecycle_id: path.payment_request_lifecycle_id
          creditor: requestBody.creditor
      method: generated
      generated: '2026-11-21'
- target: $.paths['/payment-requests/{payment_request_lifecycle_id}/refunds/{refund_request_lifecycle_id}/payment-confirmations'].post
  update:
    x-apievangelist-phrasing:
      intent: Confirm a refund payment was made
      effect: write
      questions:
      - How does a creditor confirm a refund was paid?
      - Can I notify the debtor service provider a refund payment went through?
      instructions:
      - text: Confirm refund {refund_request_lifecycle_id} for payment request {payment_request_lifecycle_id} with status {status}.
        slots:
          refund_request_lifecycle_id: path.refund_request_lifecycle_id
          payment_request_lifecycle_id: path.payment_request_lifecycle_id
          status: requestBody.status
      - text: Mark refund {refund_request_lifecycle_id} on payment request {payment_request_lifecycle_id} as {status}.
        slots:
          refund_request_lifecycle_id: path.refund_request_lifecycle_id
          payment_request_lifecycle_id: path.payment_request_lifecycle_id
          status: requestBody.status
      method: generated
      generated: '2026-11-21'
- target: $.paths['/payment-requests/{payment_request_lifecycle_id}/step-up-advices'].post
  update:
    x-apievangelist-phrasing:
      intent: Send a step-up advice to the creditor
      effect: write
      questions:
      - Can the debtor service provider ask the creditor to step up authentication?
      - What does a step-up advice contain?
      instructions:
      - text: Send a step-up advice for payment request {payment_request_lifecycle_id} from {debtorServiceProviderId}.
        slots:
          payment_request_lifecycle_id: path.payment_request_lifecycle_id
          debtorServiceProviderId: requestBody.debtorServiceProviderId
      - text: Advisory step-up for transaction {transaction} on payment request {payment_request_lifecycle_id}.
        slots:
          transaction: requestBody.transaction
          payment_request_lifecycle_id: path.payment_request_lifecycle_id
      method: generated
      generated: '2026-11-21'
- target: $.paths['/payment-requests/{payment_request_lifecycle_id}/refunds/{refund_request_lifecycle_id}/status-retrievals'].post
  update:
    x-apievangelist-phrasing:
      intent: Check the status of a refund request
      effect: read
      questions:
      - Has the refund request been processed?
      - Can the debtor service provider check a refund request's status?
      instructions:
      - text: Check the status of refund request {refund_request_lifecycle_id} on payment request {payment_request_lifecycle_id}.
        slots:
          refund_request_lifecycle_id: path.refund_request_lifecycle_id
          payment_request_lifecycle_id: path.payment_request_lifecycle_id
      - text: Retrieve refund request {refund_request_lifecycle_id} status for debtor {debtor}.
        slots:
          refund_request_lifecycle_id: path.refund_request_lifecycle_id
          debtor: requestBody.debtor
      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-lifecycle-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.