Google Pay · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Google Pay Transitobject API

7 actions 7 updates phrasing extends openapi/google-pay-transitobject-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/transitObject/{resourceId}'].get
$.paths['/walletobjects/v1/transitObject/{resourceId}'].put
$.paths['/walletobjects/v1/transitObject/{resourceId}'].patch
$.paths['/walletobjects/v1/transitObject/{resourceId}/addMessage'].post
$.paths['/walletobjects/v1/transitObject'].get
$.paths['/walletobjects/v1/transitObject'].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 Transitobject API
  version: 1.0.0
extends: openapi/google-pay-transitobject-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/transitObject/{resourceId}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a transit object
      effect: read
      questions:
      - How do I look up a transit pass by its ID?
      - What does a single transit object record contain?
      instructions:
      - text: Get transit object {resourceId}.
        slots:
          resourceId: path.resourceId
      - text: Show the details of transit pass {resourceId}.
        slots:
          resourceId: path.resourceId
      method: generated
      generated: '2026-11-16'
- target: $.paths['/walletobjects/v1/transitObject/{resourceId}'].put
  update:
    x-apievangelist-phrasing:
      intent: Replace a transit object
      effect: write
      questions:
      - How do I overwrite a transit object's full record?
      - Can I set the background color and barcode when replacing a transit pass?
      instructions:
      - text: Replace transit object {resourceId} with class {classId} and state {state}.
        slots:
          resourceId: path.resourceId
          classId: requestBody.classId
          state: requestBody.state
      - text: Overwrite the full transit pass {resourceId} with barcode {barcode}.
        slots:
          resourceId: path.resourceId
          barcode: requestBody.barcode
      method: generated
      generated: '2026-11-16'
- target: $.paths['/walletobjects/v1/transitObject/{resourceId}'].patch
  update:
    x-apievangelist-phrasing:
      intent: Change fields on a transit object
      effect: write
      questions:
      - How do I change just the barcode on a transit pass?
      - Can I update only the background color of a transit object?
      instructions:
      - text: Patch transit object {resourceId} and set its barcode to {barcode}.
        slots:
          resourceId: path.resourceId
          barcode: requestBody.barcode
      - text: Change the background color of transit pass {resourceId} to {hexBackgroundColor}.
        slots:
          resourceId: path.resourceId
          hexBackgroundColor: requestBody.hexBackgroundColor
      method: generated
      generated: '2026-11-16'
- target: $.paths['/walletobjects/v1/transitObject/{resourceId}/addMessage'].post
  update:
    x-apievangelist-phrasing:
      intent: Add a message to a transit object
      effect: write
      questions:
      - How do I add a message to a transit pass?
      - Can I send a notification message to users of a transit object?
      instructions:
      - text: Add message {message} to transit object {resourceId}.
        slots:
          message: requestBody.message
          resourceId: path.resourceId
      - text: Send a notice {message} to users of transit pass {resourceId}.
        slots:
          message: requestBody.message
          resourceId: path.resourceId
      method: generated
      generated: '2026-11-16'
- target: $.paths['/walletobjects/v1/transitObject'].get
  update:
    x-apievangelist-phrasing:
      intent: List transit objects
      effect: read
      questions:
      - Which transit passes does my issuer ID have?
      - Can I list only the transit objects for one class?
      instructions:
      - text: List all transit objects for issuer ID {classId}.
        slots:
          classId: query.classId
      - text: Show the first {maxResults} transit passes.
        slots:
          maxResults: query.maxResults
      method: generated
      generated: '2026-11-16'
- target: $.paths['/walletobjects/v1/transitObject'].post
  update:
    x-apievangelist-phrasing:
      intent: Insert a transit object
      effect: write
      questions:
      - How do I add a new transit pass to Google Wallet?
      - What trip type and class does a new transit object need?
      instructions:
      - text: Insert transit object {id} of class {classId} for trip type {tripType} with state {state}.
        slots:
          id: requestBody.id
          classId: requestBody.classId
          tripType: requestBody.tripType
          state: requestBody.state
      - text: Add a new transit pass {id} for {passengerType} passengers.
        slots:
          id: requestBody.id
          passengerType: requestBody.passengerType
      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-transitobject-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.