Google Pay Transitclass API

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

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/transitClass Create a transit pass class · Walletobjects transitclass insert #
Ask an LLM
“How do I add a new transit pass class to Google Wallet?”
“Can I set the transit type and background color when creating a class?”
Tell an agent
Create transit class {id} for {issuerName} of type {transitType}.
Add a new {transitType} class {id} with background {hexBackgroundColor}.
GET /walletobjects/v1/transitClass List transit pass classes · Walletobjects transitclass list #
Ask an LLM
“Which transit pass classes does my issuer ID have?”
“Can I page through all transit classes?”
Tell an agent
List transit classes for issuer {issuerId}.
Show up to {maxResults} transit pass classes.
PATCH /walletobjects/v1/transitClass/{resourceId} Update part of a transit pass class · Walletobjects transitclass patch #
Ask an LLM
“How do I change the transit operator name on an existing pass class?”
“Can I set a class's review status to draft or under review?”
Tell an agent
Set transit pass class {class} review status to {review}.
Change the transit class {class} logo to {logo} and operator name to {operator}.
GET /walletobjects/v1/transitClass/{resourceId} Get a transit pass class · Walletobjects transitclass get #
Ask an LLM
“What are the details of one transit pass class?”
“Can I fetch a single transit class by its ID?”
Tell an agent
Get transit class {resourceId}.
Show the {transitType} pass class {resourceId}.
PUT /walletobjects/v1/transitClass/{resourceId} Replace a transit pass class · Walletobjects transitclass update #
Ask an LLM
“How do I overwrite a transit pass class with new details?”
“Can I fully replace a transit class definition?”
Tell an agent
Replace transit class {resourceId} with {id} and {transitType}.
Overwrite the full definition of transit class {resourceId}.
POST /walletobjects/v1/transitClass/{resourceId}/addMessage Add a message to a transit pass class · Walletobjects transitclass addmessage #
Ask an LLM
“How do I broadcast a message to all users of a transit pass class?”
“Can I add a new message to an existing transit class?”
Tell an agent
Add message {message} to transit class {resourceId}.
Broadcast {message} to users of transit pass 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-transitclass-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-transitclass-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Google Pay Transitclass 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 transitclass 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 (38 KB total) ---
# Full source: https://artifacts.apis.io/google-pay/openapi/google-pay-transitclass-api-openapi.yml