Google Pay · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Google Pay Giftcardobject API

7 actions 7 updates phrasing extends openapi/google-pay-giftcardobject-api-openapi.yml
Generated by API Evangelist Written by API Evangelist tooling for Google Pay's API. It is a proposal applied on top of the contract, not a document Google Pay publishes.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 7

$.info
$.paths['/walletobjects/v1/giftCardObject/{resourceId}'].get
$.paths['/walletobjects/v1/giftCardObject/{resourceId}'].put
$.paths['/walletobjects/v1/giftCardObject/{resourceId}'].patch
$.paths['/walletobjects/v1/giftCardObject/{resourceId}/addMessage'].post
$.paths['/walletobjects/v1/giftCardObject'].get
$.paths['/walletobjects/v1/giftCardObject'].post

OpenAPI Overlay

Raw ↑
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
  title: API Evangelist conversational phrasing for Google Pay Giftcardobject API
  version: 1.0.0
extends: openapi/google-pay-giftcardobject-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-11-16'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 6
- target: $.paths['/walletobjects/v1/giftCardObject/{resourceId}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a gift card object
      effect: read
      questions:
      - How do I look up a gift card object by its ID?
      - What state and balance does a specific gift card object show?
      instructions:
      - text: Get gift card object {resourceId}.
        slots:
          resourceId: path.resourceId
      - text: Show the balance and state of gift card {resourceId}.
        slots:
          resourceId: path.resourceId
      method: generated
      generated: '2026-11-16'
- target: $.paths['/walletobjects/v1/giftCardObject/{resourceId}'].put
  update:
    x-apievangelist-phrasing:
      intent: Replace a gift card object
      effect: write
      questions:
      - How do I overwrite a gift card object's full record with new values?
      - Can I change a gift card object's barcode and messages in one full update?
      instructions:
      - text: Replace gift card object {resourceId} with class {classId}, card number {cardNumber}, state {state}.
        slots:
          resourceId: path.resourceId
          classId: requestBody.classId
          cardNumber: requestBody.cardNumber
          state: requestBody.state
      - text: Overwrite the whole gift card {resourceId} record.
        slots:
          resourceId: path.resourceId
      method: generated
      generated: '2026-11-16'
- target: $.paths['/walletobjects/v1/giftCardObject/{resourceId}'].patch
  update:
    x-apievangelist-phrasing:
      intent: Update a gift card object
      effect: write
      questions:
      - Can I change the card number or balance on a gift card object?
      - Is it possible to turn off expiration notifications for a gift card?
      instructions:
      - text: Set the gift card object {resourceId} to state {state}.
        slots:
          resourceId: path.resourceId
          state: requestBody.state
      - text: Update the balance on gift card object {resourceId} to {balance}.
        slots:
          resourceId: path.resourceId
          balance: requestBody.balance
      - text: Set the barcode on gift card {resourceId} to {barcode}.
        slots:
          resourceId: path.resourceId
          barcode: requestBody.barcode
      method: generated
      generated: '2026-11-16'
- target: $.paths['/walletobjects/v1/giftCardObject/{resourceId}/addMessage'].post
  update:
    x-apievangelist-phrasing:
      intent: Add a message to a gift card object
      effect: write
      questions:
      - How do I send a notification message to users of a gift card object?
      - Can I add a new message to a gift card object without replacing it?
      instructions:
      - text: Add message {message} to gift card object {resourceId}.
        slots:
          message: requestBody.message
          resourceId: path.resourceId
      - text: Notify users of gift card {resourceId} about {message}.
        slots:
          resourceId: path.resourceId
          message: requestBody.message
      method: generated
      generated: '2026-11-16'
- target: $.paths['/walletobjects/v1/giftCardObject'].get
  update:
    x-apievangelist-phrasing:
      intent: List gift card objects
      effect: read
      questions:
      - Which gift card objects does a particular class have?
      - Can I page through all gift card objects issued by my merchant ID?
      instructions:
      - text: List gift card objects for class {classId}.
        slots:
          classId: query.classId
      - text: Show {maxResults} gift card objects starting at token {token}.
        slots:
          maxResults: query.maxResults
          token: query.token
      method: generated
      generated: '2026-11-16'
- target: $.paths['/walletobjects/v1/giftCardObject'].post
  update:
    x-apievangelist-phrasing:
      intent: Insert a gift card object
      effect: write
      questions:
      - How do I add a new gift card object to the Google Pay wallet?
      - What fields are required to create a gift card object?
      instructions:
      - text: Insert gift card object {id} with class {classId}, card number {cardNumber}, balance {balance}.
        slots:
          id: requestBody.id
          classId: requestBody.classId
          cardNumber: requestBody.cardNumber
          balance: requestBody.balance
      - text: Create a new gift card object {id}.
        slots:
          id: requestBody.id
      method: generated
      generated: '2026-11-16'

Work with this as data

Every overlay 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 openapi overlays

4 MCP tools reach this
  • find_overlaysBrowse and filter every overlay in the catalog.
  • 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 overlay
curl "https://apis.io/api/v1/overlays/google-pay-giftcardobject-api-phrasing-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?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.