Visa · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Visa Consent Management Service Visa Consent Management API

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

What the actions change

x-apievangelist-phrasing

Targets 8

$.info
$.paths['/vcms/v1/consents/{consentID}/revoke'].post
$.paths['/vcms/v1/consents/{consentID}/constraints/remainingNumberUses'].put
$.paths['/vcms/v1/consents'].post
$.paths['/vcms/v1/consents/{consentID}'].get
$.paths['/vcms/v1/consents/{consentID}'].patch
$.paths['/vcms/v1/consents/{consentID}/validate'].post
$.paths['/vcms/v1/consents/{consentID}/status'].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 Visa Consent Management Service Visa Consent Management API
  version: 1.0.0
extends: openapi/visa-visa-consent-management-api-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-11-20'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 7
- target: $.paths['/vcms/v1/consents/{consentID}/revoke'].post
  update:
    x-apievangelist-phrasing:
      intent: Revoke a consent
      effect: destructive
      questions:
      - How do I revoke a consent the user granted?
      - Can I revoke a consent that is already paused?
      instructions:
      - text: Revoke consent {consentID}.
        slots:
          consentID: path.consentID
      - text: Revoke consent {consentID} because {revocationReason}.
        slots:
          consentID: path.consentID
          revocationReason: requestBody.revocationReason
      method: generated
      generated: '2026-11-20'
- target: $.paths['/vcms/v1/consents/{consentID}/constraints/remainingNumberUses'].put
  update:
    x-apievangelist-phrasing:
      intent: Set the remaining uses of a multi-use consent
      effect: write
      questions:
      - How do I cap how many times a multi-use consent can still be used?
      - Can I set remaining uses to zero so the consent is consumed?
      instructions:
      - text: Set the remaining uses of consent {consentID} to {remainingNumberUses}.
        slots:
          consentID: path.consentID
          remainingNumberUses: requestBody.remainingNumberUses
      - text: Cap consent {consentID} to {remainingNumberUses} more uses.
        slots:
          consentID: path.consentID
          remainingNumberUses: requestBody.remainingNumberUses
      method: generated
      generated: '2026-11-20'
- target: $.paths['/vcms/v1/consents'].post
  update:
    x-apievangelist-phrasing:
      intent: Save a consent
      effect: write
      questions:
      - How do I save a consent a user granted?
      - Can I save a consent with a specific expiration date?
      instructions:
      - text: Save consent {consentID} for user {userID} with purposes {primaryPurposes}.
        slots:
          consentID: requestBody.externalConsentID
          userID: requestBody.userID
          primaryPurposes: requestBody.primaryPurposes
      - text: Record a consent for user {userID} that expires at {expirationDateTime}.
        slots:
          userID: requestBody.userID
          expirationDateTime: requestBody.expirationDateTime
      method: generated
      generated: '2026-11-20'
- target: $.paths['/vcms/v1/consents/{consentID}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a consent
      effect: read
      questions:
      - What are the details of a consent?
      - Can I look up a consent by its ID?
      instructions:
      - text: Get consent {consentID}.
        slots:
          consentID: path.consentID
      - text: Show the status and expiry of consent {consentID}.
        slots:
          consentID: path.consentID
      method: generated
      generated: '2026-11-20'
- target: $.paths['/vcms/v1/consents/{consentID}'].patch
  update:
    x-apievangelist-phrasing:
      intent: Update a consent
      effect: write
      questions:
      - How do I change the status of an existing consent?
      - Can I add secondary purposes to a consent after it's saved?
      instructions:
      - text: Set consent {consentID} status to {status}.
        slots:
          consentID: path.consentID
          status: requestBody.status
      - text: Add secondary purposes {secondaryPurposes} to consent {consentID}.
        slots:
          secondaryPurposes: requestBody.secondaryPurposes
          consentID: path.consentID
      method: generated
      generated: '2026-11-20'
- target: $.paths['/vcms/v1/consents/{consentID}/validate'].post
  update:
    x-apievangelist-phrasing:
      intent: Validate a consent against a user ID
      effect: read
      questions:
      - How does a resource provider check that a consent is recorded for a user?
      - Can I validate a consent with identity verification details?
      instructions:
      - text: Validate consent {consentID} for user {userID}.
        slots:
          consentID: path.consentID
          userID: requestBody.userID
      - text: Check that consent {consentID} is recorded against {userID} using {identityVerificationDetails}.
        slots:
          consentID: path.consentID
          userID: requestBody.userID
          identityVerificationDetails: requestBody.identityVerificationDetails
      method: generated
      generated: '2026-11-20'
- target: $.paths['/vcms/v1/consents/{consentID}/status'].put
  update:
    x-apievangelist-phrasing:
      intent: Pause, resume or consume a consent via its status
      effect: write
      questions:
      - How do I pause a consent and later reactivate it?
      - Can I move a consent from active to consumed through the status endpoint?
      - Which consent status transitions are allowed, and what happens on an invalid one?
      instructions:
      - text: Pause consent {consentID} by moving its status from ACTIVE to {status}.
        slots:
          consentID: path.consentID
          status: requestBody.status
      - text: Reactivate paused consent {consentID} by changing its status back to {status}.
        slots:
          consentID: path.consentID
          status: requestBody.status
      - text: Mark consent {consentID} as {status} after its permitted use is complete.
        slots:
          consentID: path.consentID
          status: requestBody.status
      method: generated
      generated: '2026-11-20'

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/visa-visa-consent-management-api-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.