Google Pay · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Google Pay Loyaltyclass API

7 actions 7 updates phrasing extends openapi/google-pay-loyaltyclass-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/loyaltyClass'].get
$.paths['/walletobjects/v1/loyaltyClass'].post
$.paths['/walletobjects/v1/loyaltyClass/{resourceId}'].get
$.paths['/walletobjects/v1/loyaltyClass/{resourceId}'].put
$.paths['/walletobjects/v1/loyaltyClass/{resourceId}'].patch
$.paths['/walletobjects/v1/loyaltyClass/{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 Loyaltyclass API
  version: 1.0.0
extends: openapi/google-pay-loyaltyclass-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/loyaltyClass'].get
  update:
    x-apievangelist-phrasing:
      intent: List loyalty program classes
      effect: read
      questions:
      - Which loyalty program classes have I created for Google Wallet?
      - Can I page through my loyalty classes?
      instructions:
      - text: List all my loyalty classes.
      - text: Show loyalty classes for issuer {issuerId}.
        slots:
          issuerId: query.issuerId
      method: generated
      generated: '2026-11-16'
- target: $.paths['/walletobjects/v1/loyaltyClass'].post
  update:
    x-apievangelist-phrasing:
      intent: Create a loyalty program class
      effect: write
      questions:
      - How do I add a new loyalty program to Google Wallet?
      - Can I set a rewards tier and background color when creating a class?
      instructions:
      - text: Create loyalty class {programName} for issuer {issuerName}.
        slots:
          programName: requestBody.programName
          issuerName: requestBody.issuerName
      - text: Add loyalty class {programName} with rewards tier {rewardsTier} and background {hexBackgroundColor}.
        slots:
          programName: requestBody.programName
          rewardsTier: requestBody.rewardsTier
          hexBackgroundColor: requestBody.hexBackgroundColor
      method: generated
      generated: '2026-11-16'
- target: $.paths['/walletobjects/v1/loyaltyClass/{resourceId}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a loyalty program class
      effect: read
      questions:
      - What are the details of one loyalty class?
      - Can I look up a loyalty class by its ID?
      instructions:
      - text: Get loyalty class {resourceId}.
        slots:
          resourceId: path.resourceId
      - text: Show the details of loyalty class {resourceId}.
        slots:
          resourceId: path.resourceId
      method: generated
      generated: '2026-11-16'
- target: $.paths['/walletobjects/v1/loyaltyClass/{resourceId}'].put
  update:
    x-apievangelist-phrasing:
      intent: Replace a loyalty program class
      effect: write
      questions:
      - How do I overwrite a loyalty class with new values?
      - Can I replace a whole loyalty class definition in one call?
      instructions:
      - text: Replace loyalty class {resourceId} with {programName} and {rewardsTier}.
        slots:
          resourceId: path.resourceId
          programName: requestBody.programName
          rewardsTier: requestBody.rewardsTier
      - text: Overwrite the entire loyalty class {resourceId}.
        slots:
          resourceId: path.resourceId
      method: generated
      generated: '2026-11-16'
- target: $.paths['/walletobjects/v1/loyaltyClass/{resourceId}'].patch
  update:
    x-apievangelist-phrasing:
      intent: Update fields of a loyalty class
      effect: write
      questions:
      - Can I change just the rewards tier label on a loyalty class?
      - How do I mark a loyalty class as under review?
      instructions:
      - text: Change the rewards tier label of loyalty class {resourceId} to {rewardsTierLabel}.
        slots:
          resourceId: path.resourceId
          rewardsTierLabel: requestBody.rewardsTierLabel
      - text: Set loyalty class {resourceId} review status to {reviewStatus}.
        slots:
          resourceId: path.resourceId
          reviewStatus: requestBody.reviewStatus
      method: generated
      generated: '2026-11-16'
- target: $.paths['/walletobjects/v1/loyaltyClass/{resourceId}/addMessage'].post
  update:
    x-apievangelist-phrasing:
      intent: Add a message to a loyalty class
      effect: write
      questions:
      - How do I broadcast a message to all users of a loyalty class?
      - Can I add a new message to a loyalty program class?
      instructions:
      - text: Add message {message} to loyalty class {resourceId}.
        slots:
          message: requestBody.message
          resourceId: path.resourceId
      - text: Broadcast a new message on loyalty class {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-loyaltyclass-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.