Google Pay Loyaltyobject API

The loyaltyobject API from Google Pay — 4 operation(s) for loyaltyobject.

GitHub OpenAPI

Operations 7

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/loyaltyObject/{resourceId} Get a loyalty object · Walletobjects loyaltyobject get #
Ask an LLM
“What are the loyalty points and status of a loyalty card?”
“Can I look up a loyalty object by its ID?”
Tell an agent
Get loyalty object {resourceId}.
Show the loyalty card {resourceId} and its points.
PUT /walletobjects/v1/loyaltyObject/{resourceId} Replace a loyalty object · Walletobjects loyaltyobject update #
Ask an LLM
“How do I change the loyalty points on a loyalty card?”
“Can I deactivate a loyalty object by setting its state?”
Tell an agent
Replace loyalty object {resourceId} with {loyaltyPoints} points.
Set loyalty object {resourceId} state to {state}.
PATCH /walletobjects/v1/loyaltyObject/{resourceId} Update a loyalty card object · Walletobjects loyaltyobject patch #
Ask an LLM
“How do I change the state of a loyalty card on a user's phone?”
“Can I stop notifications about a loyalty card?”
Tell an agent
Update loyalty card {card} to state {state}.
Set loyalty card {card} with {messages}.
POST /walletobjects/v1/loyaltyObject/{resourceId}/modifyLinkedOfferObjects Link offers to a loyalty card (deprecated) · Walletobjects loyaltyobject modifylinkedofferobjects #
Ask an LLM
“Can I still link offers to a loyalty card with the old modify-linked-offers call?”
“Is the linked-offers modification endpoint deprecated?”
Tell an agent
Modify linked offers on loyalty object {resourceId} to {linkedOfferObjectIds}.
Use the deprecated call to link offers {linkedOfferObjectIds} to loyalty card {resourceId}.
GET /walletobjects/v1/loyaltyObject List loyalty objects · Walletobjects loyaltyobject list #
Ask an LLM
“Which loyalty cards does a given issuer ID have?”
“Can I list loyalty objects for one class?”
Tell an agent
List loyalty objects for issuer ID {classId}.
Show up to {maxResults} loyalty cards.
POST /walletobjects/v1/loyaltyObject Create a loyalty object · Walletobjects loyaltyobject insert #
Ask an LLM
“How do I create a new loyalty card for a customer?”
“What fields are required to insert a loyalty object?”
Tell an agent
Insert loyalty object {id} for class {classId} with {loyaltyPoints} points.
Create a new loyalty card {id} for account {accountName}.
POST /walletobjects/v1/loyaltyObject/{resourceId}/addMessage Add a message to a loyalty object · Walletobjects loyaltyobject addmessage #
Ask an LLM
“How do I send a message to users of a loyalty card?”
“Can I add a message to a loyalty object without replacing it?”
Tell an agent
Add message {message} to loyalty object {resourceId}.
Send a message to the users of loyalty card {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-loyaltyobject-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-loyaltyobject-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Google Pay Loyaltyobject 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 loyaltyobject 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 (58 KB total) ---
# Full source: https://artifacts.apis.io/google-pay/openapi/google-pay-loyaltyobject-api-openapi.yml