Google Pay Offerobject API

The offerobject API from Google Pay — 3 operation(s) for offerobject.

GitHub OpenAPI

Operations 6

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /walletobjects/v1/offerObject/{resourceId}/addMessage Add a message to an offer object · Walletobjects offerobject addmessage #
Ask an LLM
“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?”
Tell an agent
Add message {message} to offer object {resourceId}.
Post a notification on offer {resourceId}.
PUT /walletobjects/v1/offerObject/{resourceId} Replace an offer object's details · Walletobjects offerobject update #
Ask an LLM
“How do I overwrite every field of an offer object at once?”
“Can I fully replace an existing offer object with new details?”
Tell an agent
Replace offer object {resourceId} with {state} state and {messages}.
Fully update offer {resourceId} using {barcode} and {validTimeInterval}.
PATCH /walletobjects/v1/offerObject/{resourceId} Change fields of an offer object · Walletobjects offerobject patch #
Ask an LLM
“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?”
Tell an agent
Patch offer object {resourceId} to expire {validTimeInterval}.
Change the barcode on offer {resourceId} to {barcode}.
GET /walletobjects/v1/offerObject/{resourceId} Get an offer object · Walletobjects offerobject get #
Ask an LLM
“What are the details of a specific offer object?”
“Can I look up one loyalty card by its ID?”
Tell an agent
Get offer object {resourceId}.
Show the details of offer {resourceId}.
GET /walletobjects/v1/offerObject List offer objects · Walletobjects offerobject list #
Ask an LLM
“Which offers have I issued to users?”
“Can I list all offer objects for one class?”
Tell an agent
List all offer objects.
List offer objects for class {classId}.
POST /walletobjects/v1/offerObject Insert an offer object · Walletobjects offerobject insert #
Ask an LLM
“How do I add a new loyalty card to Google Pay?”
“What's required to insert a new offer object?”
Tell an agent
Insert offer object {id} for class {classId} with {messages}.
Add a new offer {id} linked to objects {linkedObjectIds}.

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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 API
curl "https://apis.io/api/v1/apis/google-pay:google-pay-offerobject-api"
All apis
curl "https://apis.io/api/v1/apis?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.

OpenAPI Specification

google-pay-offerobject-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Google Pay Offerobject API
  version: v1
  x-generated-from: google-discovery-document
  x-revision: '20261104'
  x-source: https://walletobjects.googleapis.com/$discovery/rest?version=v1
  description: 'Operations tagged offerobject across 2 of this provider''s published API definitions: google-pay-wallet-openapi.yml, google-pay-wallet-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://walletobjects.googleapis.com
security:
- oauth2:
  - https://www.googleapis.com/auth/wallet_object.issuer
tags:


# --- truncated at 32 KB (52 KB total) ---
# Full source: https://artifacts.apis.io/google-pay/openapi/google-pay-offerobject-api-openapi.yml