Google Pay Offerclass API

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

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/offerClass Create an offer class · Walletobjects offerclass insert #
Ask an LLM
“How do I create a new offer class for loyalty cards?”
“What fields are required to add an offer class?”
Tell an agent
Create an offer class with title {title} and provider {provider}.
Add a new offer class {id} for issuer {issuerName} with redemption channel {redemptionChannel}.
GET /walletobjects/v1/offerClass List offer classes · Walletobjects offerclass list #
Ask an LLM
“Which offer classes have I created for my issuer ID?”
“Can I page through all my offer classes?”
Tell an agent
List my offer classes.
List offer classes for issuer {issuerId}.
PATCH /walletobjects/v1/offerClass/{resourceId} Update fields on an offer class · Walletobjects offerclass patch #
Ask an LLM
“Can I change just the fine print on an offer class?”
“Is there a partial update for an offer class?”
Tell an agent
Set the fine print of offer class {resourceId} to {finePrint}.
Change the redemption channel on offer class {resourceId} to {redemptionChannel}.
GET /walletobjects/v1/offerClass/{resourceId} Get an offer class · Walletobjects offerclass get #
Ask an LLM
“What details are stored on a specific offer class?”
“Can I look up one offer class by its ID?”
Tell an agent
Get offer class {resourceId}.
Show the details of offer class {resourceId}.
PUT /walletobjects/v1/offerClass/{resourceId} Replace an offer class · Walletobjects offerclass update #
Ask an LLM
“How do I overwrite an entire offer class definition?”
“Can I replace an offer class's full details in one update?”
Tell an agent
Replace offer class {resourceId} with title {title} and provider {provider}.
Overwrite the whole offer class {resourceId}.
POST /walletobjects/v1/offerClass/{resourceId}/addMessage Add a message to an offer class · Walletobjects offerclass addmessage #
Ask an LLM
“How do I add a new message to an existing offer class?”
“Can I send a message to all users of an offer class?”
Tell an agent
Add message {message} to offer class {resourceId}.
Send a new message to users of offer class {resourceId}.

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-offerclass-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-offerclass-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Google Pay Offerclass 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 offerclass 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 (36 KB total) ---
# Full source: https://artifacts.apis.io/google-pay/openapi/google-pay-offerclass-api-openapi.yml