Google Pay · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Google Pay Giftcardclass API

7 actions 7 updates phrasing extends openapi/google-pay-giftcardclass-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/giftCardClass/{resourceId}'].get
$.paths['/walletobjects/v1/giftCardClass/{resourceId}'].put
$.paths['/walletobjects/v1/giftCardClass/{resourceId}'].patch
$.paths['/walletobjects/v1/giftCardClass'].get
$.paths['/walletobjects/v1/giftCardClass'].post
$.paths['/walletobjects/v1/giftCardClass/{resourceId}/addMessage'].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 Giftcardclass API
  version: 1.0.0
extends: openapi/google-pay-giftcardclass-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/giftCardClass/{resourceId}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a gift card class
      effect: read
      questions:
      - How do I look up a gift card class by its ID?
      - What details come back for one Google Pay gift card class?
      instructions:
      - text: Get gift card class {class}.
        slots:
          class: path.resourceId
      - text: Show the details of gift card class {class}.
        slots:
          class: path.resourceId
      method: generated
      generated: '2026-11-16'
- target: $.paths['/walletobjects/v1/giftCardClass/{resourceId}'].put
  update:
    x-apievangelist-phrasing:
      intent: Replace a gift card class
      effect: write
      questions:
      - How do I overwrite a gift card class with new details?
      - Can I change the background color of a gift card class?
      instructions:
      - text: Replace gift card class {class} with merchant {merchant}.
        slots:
          class: path.resourceId
          merchant: requestBody.merchantName
      - text: Set the background color of gift card class {class} to {color}.
        slots:
          class: path.resourceId
          color: requestBody.hexBackgroundColor
      method: generated
      generated: '2026-11-16'
- target: $.paths['/walletobjects/v1/giftCardClass/{resourceId}'].patch
  update:
    x-apievangelist-phrasing:
      intent: Change some fields of a gift card class
      effect: write
      questions:
      - Can I change just the issuer name on a gift card class without resending the whole class?
      - How do I turn on barcode redemption for a gift card class?
      instructions:
      - text: Patch gift card class {class} to set the issuer name to {name}.
        slots:
          class: path.resourceId
          name: requestBody.issuerName
      - text: Patch gift card class {class} so barcode redemption is {barcode}.
        slots:
          class: path.resourceId
          barcode: requestBody.allowBarcodeRedemption
      method: generated
      generated: '2026-11-16'
- target: $.paths['/walletobjects/v1/giftCardClass'].get
  update:
    x-apievangelist-phrasing:
      intent: List gift card classes for an issuer
      effect: read
      questions:
      - Which gift card classes have I defined for my issuer ID?
      - Can I page through all my gift card classes?
      instructions:
      - text: List my gift card classes.
      - text: List gift card classes for issuer {issuer}, {max} at a time.
        slots:
          issuer: query.issuerId
          max: query.maxResults
      method: generated
      generated: '2026-11-16'
- target: $.paths['/walletobjects/v1/giftCardClass'].post
  update:
    x-apievangelist-phrasing:
      intent: Create a gift card class
      effect: write
      questions:
      - How do I add a new gift card class to Google Pay?
      - What is required to create a gift card class, like the issuer name?
      instructions:
      - text: Create gift card class {class} for issuer {merchant}.
        slots:
          class: requestBody.id
          merchant: requestBody.issuerName
      - text: Add a new gift card class {class} with background {color}.
        slots:
          class: requestBody.id
          color: requestBody.hexBackgroundColor
      method: generated
      generated: '2026-11-16'
- target: $.paths['/walletobjects/v1/giftCardClass/{resourceId}/addMessage'].post
  update:
    x-apievangelist-phrasing:
      intent: Add a message to a gift card class
      effect: write
      questions:
      - How do I send a message to all users of a gift card class?
      - Can I add a promotional message to a gift card class?
      instructions:
      - text: Add message {message} to gift card class {class}.
        slots:
          message: requestBody.message
          class: path.resourceId
      - text: Send a notification to holders of gift card class {class}.
        slots:
          class: path.resourceId
      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-giftcardclass-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.