Google Pay · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Google Pay Genericclass API

7 actions 7 updates phrasing extends openapi/google-pay-genericclass-api-openapi.yml
Generated by API Evangelist Written by API Evangelist tooling for Google Pay's API. It is a proposal applied on top of the contract, not a document Google Pay publishes.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 7

$.info
$.paths['/walletobjects/v1/genericClass'].get
$.paths['/walletobjects/v1/genericClass'].post
$.paths['/walletobjects/v1/genericClass/{resourceId}'].get
$.paths['/walletobjects/v1/genericClass/{resourceId}'].put
$.paths['/walletobjects/v1/genericClass/{resourceId}'].patch
$.paths['/walletobjects/v1/genericClass/{resourceId}/addMessage'].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 Google Pay Genericclass API
  version: 1.0.0
extends: openapi/google-pay-genericclass-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-11-16'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 6
- target: $.paths['/walletobjects/v1/genericClass'].get
  update:
    x-apievangelist-phrasing:
      intent: List generic pass classes
      effect: read
      questions:
      - What generic pass classes have I defined?
      - Can I page through all my generic classes?
      instructions:
      - text: List all my generic classes.
      - text: Show up to {maxResults} generic classes for issuer {issuerId}.
        slots:
          maxResults: query.maxResults
          issuerId: query.issuerId
      method: generated
      generated: '2026-11-16'
- target: $.paths['/walletobjects/v1/genericClass'].post
  update:
    x-apievangelist-phrasing:
      intent: Create a generic pass class
      effect: write
      questions:
      - How do I create a generic class for a digital pass?
      - Can I set redemption issuers and smart tap on a new generic class?
      instructions:
      - text: Create generic class {id} with redemption issuers {redemptionIssuers}.
        slots:
          id: requestBody.id
          redemptionIssuers: requestBody.redemptionIssuers
      - text: Add a new generic pass class {id}.
        slots:
          id: requestBody.id
      method: generated
      generated: '2026-11-16'
- target: $.paths['/walletobjects/v1/genericClass/{resourceId}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a generic pass class
      effect: read
      questions:
      - What are the details of one generic class?
      - Can I fetch a single generic pass class by ID?
      instructions:
      - text: Get generic class {resourceId}.
        slots:
          resourceId: path.resourceId
      - text: Show the details of generic pass class {resourceId}.
        slots:
          resourceId: path.resourceId
      method: generated
      generated: '2026-11-16'
- target: $.paths['/walletobjects/v1/genericClass/{resourceId}'].put
  update:
    x-apievangelist-phrasing:
      intent: Update a generic pass class
      effect: write
      questions:
      - Can I overwrite a generic pass class with new text and image modules?
      - Is a full replace of a generic class possible by ID?
      instructions:
      - text: Update generic class {resourceId} with new text modules {textModulesData}.
        slots:
          resourceId: path.resourceId
          textModulesData: requestBody.textModulesData
      - text: Replace generic class {resourceId} in full with new image modules {imageModulesData}.
        slots:
          resourceId: path.resourceId
          imageModulesData: requestBody.imageModulesData
      method: generated
      generated: '2026-11-16'
- target: $.paths['/walletobjects/v1/genericClass/{resourceId}'].patch
  update:
    x-apievangelist-phrasing:
      intent: Patch a generic pass class
      effect: write
      questions:
      - Can I change only the view unlock requirement on a generic pass class?
      - Which fields of a generic class can be patched?
      instructions:
      - text: Patch the view unlock requirement of generic class {resourceId} to {viewUnlockRequirement}.
        slots:
          resourceId: path.resourceId
          viewUnlockRequirement: requestBody.viewUnlockRequirement
      - text: Patch generic class {resourceId} to allow multiple devices and holders.
        slots:
          resourceId: path.resourceId
      method: generated
      generated: '2026-11-16'
- target: $.paths['/walletobjects/v1/genericClass/{resourceId}/addMessage'].post
  update:
    x-apievangelist-phrasing:
      intent: Add a message to a generic class
      effect: write
      questions:
      - How do I broadcast a message to all users of a generic class?
      - Can I send a notification to every holder of a generic pass?
      instructions:
      - text: Add message {message} to generic class {resourceId}.
        slots:
          message: requestBody.message
          resourceId: path.resourceId
      - text: Broadcast {message} to all holders of generic pass class {resourceId}.
        slots:
          message: requestBody.message
          resourceId: path.resourceId
      method: generated
      generated: '2026-11-16'

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/google-pay-genericclass-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.