Google Pay Transitobject API

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

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

PATCH /walletobjects/v1/transitObject/{resourceId} Change fields on a transit object · Walletobjects transitobject patch #
Ask an LLM
“How do I change just the barcode on a transit pass?”
“Can I update only the background color of a transit object?”
Tell an agent
Patch transit object {resourceId} and set its barcode to {barcode}.
Change the background color of transit pass {resourceId} to {hexBackgroundColor}.
GET /walletobjects/v1/transitObject/{resourceId} Get a transit object · Walletobjects transitobject get #
Ask an LLM
“How do I look up a transit pass by its ID?”
“What does a single transit object record contain?”
Tell an agent
Get transit object {resourceId}.
Show the details of transit pass {resourceId}.
PUT /walletobjects/v1/transitObject/{resourceId} Replace a transit object · Walletobjects transitobject update #
Ask an LLM
“How do I overwrite a transit object's full record?”
“Can I set the background color and barcode when replacing a transit pass?”
Tell an agent
Replace transit object {resourceId} with class {classId} and state {state}.
Overwrite the full transit pass {resourceId} with barcode {barcode}.
POST /walletobjects/v1/transitObject/{resourceId}/addMessage Add a message to a transit object · Walletobjects transitobject addmessage #
Ask an LLM
“How do I add a message to a transit pass?”
“Can I send a notification message to users of a transit object?”
Tell an agent
Add message {message} to transit object {resourceId}.
Send a notice {message} to users of transit pass {resourceId}.
GET /walletobjects/v1/transitObject List transit objects · Walletobjects transitobject list #
Ask an LLM
“Which transit passes does my issuer ID have?”
“Can I list only the transit objects for one class?”
Tell an agent
List all transit objects for issuer ID {classId}.
Show the first {maxResults} transit passes.
POST /walletobjects/v1/transitObject Insert a transit object · Walletobjects transitobject insert #
Ask an LLM
“How do I add a new transit pass to Google Wallet?”
“What trip type and class does a new transit object need?”
Tell an agent
Insert transit object {id} of class {classId} for trip type {tripType} with state {state}.
Add a new transit pass {id} for {passengerType} passengers.

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