Google Pay · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Google Pay Offerobject API

7 actions 7 updates phrasing extends openapi/google-pay-offerobject-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/offerObject/{resourceId}/addMessage'].post
$.paths['/walletobjects/v1/offerObject/{resourceId}'].get
$.paths['/walletobjects/v1/offerObject/{resourceId}'].put
$.paths['/walletobjects/v1/offerObject/{resourceId}'].patch
$.paths['/walletobjects/v1/offerObject'].get
$.paths['/walletobjects/v1/offerObject'].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 Offerobject API
  version: 1.0.0
extends: openapi/google-pay-offerobject-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/offerObject/{resourceId}/addMessage'].post
  update:
    x-apievangelist-phrasing:
      intent: Add a message to an offer object
      effect: write
      questions:
      - How do I show a message on a loyalty card or offer in Google Pay?
      - Can I add a message to an offer object after it's issued?
      instructions:
      - text: Add message {message} to offer object {resourceId}.
        slots:
          message: requestBody.message
          resourceId: path.resourceId
      - text: Post a notification on offer {resourceId}.
        slots:
          resourceId: path.resourceId
      method: generated
      generated: '2026-11-16'
- target: $.paths['/walletobjects/v1/offerObject/{resourceId}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get an offer object
      effect: read
      questions:
      - What are the details of a specific offer object?
      - Can I look up one loyalty card by its ID?
      instructions:
      - text: Get offer object {resourceId}.
        slots:
          resourceId: path.resourceId
      - text: Show the details of offer {resourceId}.
        slots:
          resourceId: path.resourceId
      method: generated
      generated: '2026-11-16'
- target: $.paths['/walletobjects/v1/offerObject/{resourceId}'].put
  update:
    x-apievangelist-phrasing:
      intent: Replace an offer object's details
      effect: write
      questions:
      - How do I overwrite every field of an offer object at once?
      - Can I fully replace an existing offer object with new details?
      instructions:
      - text: Replace offer object {resourceId} with {state} state and {messages}.
        slots:
          resourceId: path.resourceId
          state: requestBody.state
          messages: requestBody.messages
      - text: Fully update offer {resourceId} using {barcode} and {validTimeInterval}.
        slots:
          resourceId: path.resourceId
          barcode: requestBody.barcode
          validTimeInterval: requestBody.validTimeInterval
      method: generated
      generated: '2026-11-16'
- target: $.paths['/walletobjects/v1/offerObject/{resourceId}'].patch
  update:
    x-apievangelist-phrasing:
      intent: Change fields of an offer object
      effect: write
      questions:
      - Can I change just the expiration date of an offer object without resending everything?
      - How do I update a single field on an existing offer object?
      instructions:
      - text: Patch offer object {resourceId} to expire {validTimeInterval}.
        slots:
          resourceId: path.resourceId
          validTimeInterval: requestBody.validTimeInterval
      - text: Change the barcode on offer {resourceId} to {barcode}.
        slots:
          resourceId: path.resourceId
          barcode: requestBody.barcode
      method: generated
      generated: '2026-11-16'
- target: $.paths['/walletobjects/v1/offerObject'].get
  update:
    x-apievangelist-phrasing:
      intent: List offer objects
      effect: read
      questions:
      - Which offers have I issued to users?
      - Can I list all offer objects for one class?
      instructions:
      - text: List all offer objects.
      - text: List offer objects for class {classId}.
        slots:
          classId: query.classId
      method: generated
      generated: '2026-11-16'
- target: $.paths['/walletobjects/v1/offerObject'].post
  update:
    x-apievangelist-phrasing:
      intent: Insert an offer object
      effect: write
      questions:
      - How do I add a new loyalty card to Google Pay?
      - What's required to insert a new offer object?
      instructions:
      - text: Insert offer object {id} for class {classId} with {messages}.
        slots:
          id: requestBody.id
          classId: requestBody.classId
          messages: requestBody.messages
      - text: Add a new offer {id} linked to objects {linkedObjectIds}.
        slots:
          id: requestBody.id
          linkedObjectIds: requestBody.linkedObjectIds
      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-offerobject-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.