Google Pay · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Google Pay Offerclass API

7 actions 7 updates phrasing extends openapi/google-pay-offerclass-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/offerClass'].get
$.paths['/walletobjects/v1/offerClass'].post
$.paths['/walletobjects/v1/offerClass/{resourceId}'].get
$.paths['/walletobjects/v1/offerClass/{resourceId}'].put
$.paths['/walletobjects/v1/offerClass/{resourceId}'].patch
$.paths['/walletobjects/v1/offerClass/{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 Offerclass API
  version: 1.0.0
extends: openapi/google-pay-offerclass-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/offerClass'].get
  update:
    x-apievangelist-phrasing:
      intent: List offer classes
      effect: read
      questions:
      - Which offer classes have I created for my issuer ID?
      - Can I page through all my offer classes?
      instructions:
      - text: List my offer classes.
      - text: List offer classes for issuer {issuerId}.
        slots:
          issuerId: query.issuerId
      method: generated
      generated: '2026-11-16'
- target: $.paths['/walletobjects/v1/offerClass'].post
  update:
    x-apievangelist-phrasing:
      intent: Create an offer class
      effect: write
      questions:
      - How do I create a new offer class for loyalty cards?
      - What fields are required to add an offer class?
      instructions:
      - text: Create an offer class with title {title} and provider {provider}.
        slots:
          title: requestBody.title
          provider: requestBody.provider
      - text: Add a new offer class {id} for issuer {issuerName} with redemption channel {redemptionChannel}.
        slots:
          id: requestBody.id
          issuerName: requestBody.issuerName
          redemptionChannel: requestBody.redemptionChannel
      method: generated
      generated: '2026-11-16'
- target: $.paths['/walletobjects/v1/offerClass/{resourceId}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get an offer class
      effect: read
      questions:
      - What details are stored on a specific offer class?
      - Can I look up one offer class by its ID?
      instructions:
      - text: Get offer class {resourceId}.
        slots:
          resourceId: path.resourceId
      - text: Show the details of offer class {resourceId}.
        slots:
          resourceId: path.resourceId
      method: generated
      generated: '2026-11-16'
- target: $.paths['/walletobjects/v1/offerClass/{resourceId}'].put
  update:
    x-apievangelist-phrasing:
      intent: Replace an offer class
      effect: write
      questions:
      - How do I overwrite an entire offer class definition?
      - Can I replace an offer class's full details in one update?
      instructions:
      - text: Replace offer class {resourceId} with title {title} and provider {provider}.
        slots:
          resourceId: path.resourceId
          title: requestBody.title
          provider: requestBody.provider
      - text: Overwrite the whole offer class {resourceId}.
        slots:
          resourceId: path.resourceId
      method: generated
      generated: '2026-11-16'
- target: $.paths['/walletobjects/v1/offerClass/{resourceId}'].patch
  update:
    x-apievangelist-phrasing:
      intent: Update fields on an offer class
      effect: write
      questions:
      - Can I change just the fine print on an offer class?
      - Is there a partial update for an offer class?
      instructions:
      - text: Set the fine print of offer class {resourceId} to {finePrint}.
        slots:
          resourceId: path.resourceId
          finePrint: requestBody.finePrint
      - text: Change the redemption channel on offer class {resourceId} to {redemptionChannel}.
        slots:
          resourceId: path.resourceId
          redemptionChannel: requestBody.redemptionChannel
      method: generated
      generated: '2026-11-16'
- target: $.paths['/walletobjects/v1/offerClass/{resourceId}/addMessage'].post
  update:
    x-apievangelist-phrasing:
      intent: Add a message to an offer class
      effect: write
      questions:
      - How do I add a new message to an existing offer class?
      - Can I send a message to all users of an offer class?
      instructions:
      - text: Add message {message} to offer class {resourceId}.
        slots:
          message: requestBody.message
          resourceId: path.resourceId
      - text: Send a new message to users of offer 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-offerclass-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.