Google Pay · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Google Pay Transitclass API

7 actions 7 updates phrasing extends openapi/google-pay-transitclass-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/transitClass'].get
$.paths['/walletobjects/v1/transitClass'].post
$.paths['/walletobjects/v1/transitClass/{resourceId}'].get
$.paths['/walletobjects/v1/transitClass/{resourceId}'].put
$.paths['/walletobjects/v1/transitClass/{resourceId}'].patch
$.paths['/walletobjects/v1/transitClass/{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 Transitclass API
  version: 1.0.0
extends: openapi/google-pay-transitclass-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/transitClass'].get
  update:
    x-apievangelist-phrasing:
      intent: List transit pass classes
      effect: read
      questions:
      - Which transit pass classes does my issuer ID have?
      - Can I page through all transit classes?
      instructions:
      - text: List transit classes for issuer {issuerId}.
        slots:
          issuerId: query.issuerId
      - text: Show up to {maxResults} transit pass classes.
        slots:
          maxResults: query.maxResults
      method: generated
      generated: '2026-11-16'
- target: $.paths['/walletobjects/v1/transitClass'].post
  update:
    x-apievangelist-phrasing:
      intent: Create a transit pass class
      effect: write
      questions:
      - How do I add a new transit pass class to Google Wallet?
      - Can I set the transit type and background color when creating a class?
      instructions:
      - text: Create transit class {id} for {issuerName} of type {transitType}.
        slots:
          id: requestBody.id
          issuerName: requestBody.issuerName
          transitType: requestBody.transitType
      - text: Add a new {transitType} class {id} with background {hexBackgroundColor}.
        slots:
          transitType: requestBody.transitType
          id: requestBody.id
          hexBackgroundColor: requestBody.hexBackgroundColor
      method: generated
      generated: '2026-11-16'
- target: $.paths['/walletobjects/v1/transitClass/{resourceId}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a transit pass class
      effect: read
      questions:
      - What are the details of one transit pass class?
      - Can I fetch a single transit class by its ID?
      instructions:
      - text: Get transit class {resourceId}.
        slots:
          resourceId: path.resourceId
      - text: Show the {transitType} pass class {resourceId}.
        slots:
          transitType: path.resourceId
          resourceId: path.resourceId
      method: generated
      generated: '2026-11-16'
- target: $.paths['/walletobjects/v1/transitClass/{resourceId}'].put
  update:
    x-apievangelist-phrasing:
      intent: Replace a transit pass class
      effect: write
      questions:
      - How do I overwrite a transit pass class with new details?
      - Can I fully replace a transit class definition?
      instructions:
      - text: Replace transit class {resourceId} with {id} and {transitType}.
        slots:
          resourceId: path.resourceId
          id: requestBody.id
          transitType: requestBody.transitType
      - text: Overwrite the full definition of transit class {resourceId}.
        slots:
          resourceId: path.resourceId
      method: generated
      generated: '2026-11-16'
- target: $.paths['/walletobjects/v1/transitClass/{resourceId}'].patch
  update:
    x-apievangelist-phrasing:
      intent: Update part of a transit pass class
      effect: write
      questions:
      - How do I change the transit operator name on an existing pass class?
      - Can I set a class's review status to draft or under review?
      - Can I update just a few fields of a transit class without resending the whole thing?
      - Is there a way to change a transit class's logo and background color?
      instructions:
      - text: Set transit pass class {class} review status to {review}.
        slots:
          class: path.resourceId
          review: requestBody.reviewStatus
      - text: Change the transit class {class} logo to {logo} and operator name to {operator}.
        slots:
          class: path.resourceId
          logo: requestBody.logo
          operator: requestBody.transitOperatorName
      - text: Patch transit class {class} to rename the issuer to {issuerName}.
        slots:
          class: path.resourceId
          issuerName: requestBody.issuerName
      - text: Change the transit class {class} background color to {color}.
        slots:
          class: path.resourceId
          color: requestBody.hexBackgroundColor
      method: generated
      generated: '2026-11-16'
- target: $.paths['/walletobjects/v1/transitClass/{resourceId}/addMessage'].post
  update:
    x-apievangelist-phrasing:
      intent: Add a message to a transit pass class
      effect: write
      questions:
      - How do I broadcast a message to all users of a transit pass class?
      - Can I add a new message to an existing transit class?
      instructions:
      - text: Add message {message} to transit class {resourceId}.
        slots:
          message: requestBody.message
          resourceId: path.resourceId
      - text: Broadcast {message} to users of transit 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-transitclass-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.