Google Pay Loyaltyclass API

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

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

GET /walletobjects/v1/loyaltyClass List loyalty program classes · Walletobjects loyaltyclass list #
Ask an LLM
“Which loyalty program classes have I created for Google Wallet?”
“Can I page through my loyalty classes?”
Tell an agent
List all my loyalty classes.
Show loyalty classes for issuer {issuerId}.
POST /walletobjects/v1/loyaltyClass Create a loyalty program class · Walletobjects loyaltyclass insert #
Ask an LLM
“How do I add a new loyalty program to Google Wallet?”
“Can I set a rewards tier and background color when creating a class?”
Tell an agent
Create loyalty class {programName} for issuer {issuerName}.
Add loyalty class {programName} with rewards tier {rewardsTier} and background {hexBackgroundColor}.
PUT /walletobjects/v1/loyaltyClass/{resourceId} Replace a loyalty program class · Walletobjects loyaltyclass update #
Ask an LLM
“How do I overwrite a loyalty class with new values?”
“Can I replace a whole loyalty class definition in one call?”
Tell an agent
Replace loyalty class {resourceId} with {programName} and {rewardsTier}.
Overwrite the entire loyalty class {resourceId}.
PATCH /walletobjects/v1/loyaltyClass/{resourceId} Update fields of a loyalty class · Walletobjects loyaltyclass patch #
Ask an LLM
“Can I change just the rewards tier label on a loyalty class?”
“How do I mark a loyalty class as under review?”
Tell an agent
Change the rewards tier label of loyalty class {resourceId} to {rewardsTierLabel}.
Set loyalty class {resourceId} review status to {reviewStatus}.
GET /walletobjects/v1/loyaltyClass/{resourceId} Get a loyalty program class · Walletobjects loyaltyclass get #
Ask an LLM
“What are the details of one loyalty class?”
“Can I look up a loyalty class by its ID?”
Tell an agent
Get loyalty class {resourceId}.
Show the details of loyalty class {resourceId}.
POST /walletobjects/v1/loyaltyClass/{resourceId}/addMessage Add a message to a loyalty class · Walletobjects loyaltyclass addmessage #
Ask an LLM
“How do I broadcast a message to all users of a loyalty class?”
“Can I add a new message to a loyalty program class?”
Tell an agent
Add message {message} to loyalty class {resourceId}.
Broadcast a new message on loyalty 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-loyaltyclass-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-loyaltyclass-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Google Pay Loyaltyclass 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 loyaltyclass 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 (39 KB total) ---
# Full source: https://artifacts.apis.io/google-pay/openapi/google-pay-loyaltyclass-api-openapi.yml