Google Pay · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Google Pay Genericobject API

7 actions 7 updates phrasing extends openapi/google-pay-genericobject-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/genericObject'].get
$.paths['/walletobjects/v1/genericObject'].post
$.paths['/walletobjects/v1/genericObject/{resourceId}'].get
$.paths['/walletobjects/v1/genericObject/{resourceId}'].put
$.paths['/walletobjects/v1/genericObject/{resourceId}'].patch
$.paths['/walletobjects/v1/genericObject/{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 Genericobject API
  version: 1.0.0
extends: openapi/google-pay-genericobject-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/genericObject'].get
  update:
    x-apievangelist-phrasing:
      intent: List generic pass objects
      effect: read
      questions:
      - Which generic objects have I issued to users?
      - Can I list only generic objects for one class?
      instructions:
      - text: List all my generic objects.
      - text: List generic objects for class {classId}.
        slots:
          classId: query.classId
      method: generated
      generated: '2026-11-16'
- target: $.paths['/walletobjects/v1/genericObject'].post
  update:
    x-apievangelist-phrasing:
      intent: Insert a generic pass object
      effect: write
      questions:
      - How do I add a new generic object to the Google Pay wallet?
      - Can I set a barcode and background color on a generic object?
      instructions:
      - text: Insert generic object {id} of type {genericType} linked to class {classId}.
        slots:
          id: requestBody.id
          genericType: requestBody.genericType
          classId: requestBody.classId
      - text: Add a generic object {id} with barcode {barcode} and background {hexBackgroundColor}.
        slots:
          id: requestBody.id
          barcode: requestBody.barcode
          hexBackgroundColor: requestBody.hexBackgroundColor
      method: generated
      generated: '2026-11-16'
- target: $.paths['/walletobjects/v1/genericObject/{resourceId}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a generic pass object
      effect: read
      questions:
      - What details are stored on a generic object?
      - Can I fetch one generic object by its ID?
      instructions:
      - text: Get generic object {resourceId}.
        slots:
          resourceId: path.resourceId
      - text: Show the details of generic object {resourceId}.
        slots:
          resourceId: path.resourceId
      method: generated
      generated: '2026-11-16'
- target: $.paths['/walletobjects/v1/genericObject/{resourceId}'].put
  update:
    x-apievangelist-phrasing:
      intent: Replace a generic pass object
      effect: write
      questions:
      - How do I overwrite a generic object's full set of fields?
      - Can I replace a generic object with a new class and barcode?
      instructions:
      - text: Replace generic object {resourceId} with class {classId} and barcode {barcode}.
        slots:
          resourceId: path.resourceId
          classId: requestBody.classId
          barcode: requestBody.barcode
      - text: Overwrite generic object {resourceId} in full.
        slots:
          resourceId: path.resourceId
      method: generated
      generated: '2026-11-16'
- target: $.paths['/walletobjects/v1/genericObject/{resourceId}'].patch
  update:
    x-apievangelist-phrasing:
      intent: Partially update a generic object
      effect: write
      questions:
      - How do I change just a few fields on a generic object without resending the whole thing?
      - Can I patch the text modules or images on a generic object I already issued?
      - How can I mark an existing generic object as inactive or expired?
      instructions:
      - text: Patch generic object {resourceId} to change only its header to {header}.
        slots:
          resourceId: path.resourceId
          header: requestBody.header
      - text: Set the state of generic object {resourceId} to {state} using a partial update.
        slots:
          resourceId: path.resourceId
          state: requestBody.state
      - text: Update only the background color of generic object {resourceId} to {hexBackgroundColor}.
        slots:
          resourceId: path.resourceId
          hexBackgroundColor: requestBody.hexBackgroundColor
      method: generated
      generated: '2026-11-16'
- target: $.paths['/walletobjects/v1/genericObject/{resourceId}/addMessage'].post
  update:
    x-apievangelist-phrasing:
      intent: Add a message to a generic object
      effect: write
      questions:
      - How do I send a message to users of a generic object?
      - Can I add a notification message to a generic pass?
      instructions:
      - text: Add message {message} to generic object {resourceId}.
        slots:
          message: requestBody.message
          resourceId: path.resourceId
      - text: Send a notification to users of generic object {resourceId}.
        slots:
          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-genericobject-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.