Shift4 · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Shift4 Payment Gift Cards API

10 actions 10 updates phrasing extends openapi/shift4-gift-cards-api-openapi.yml
Generated by API Evangelist Written by API Evangelist tooling for Shift4's API. It is a proposal applied on top of the contract, not a document Shift4 publishes.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 10

$.info
$.paths['/giftcards/activate'].post
$.paths['/giftcards/allocate'].post
$.paths['/giftcards/deactivate'].post
$.paths['/giftcards/cashout'].post
$.paths['/giftcards/cashback'].post
$.paths['/giftcards/reactivate'].post
$.paths['/giftcards/reload'].post
$.paths['/giftcards/balance'].post
$.paths['/giftcards/cancel'].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 Shift4 Payment Gift Cards API
  version: 1.0.0
extends: openapi/shift4-gift-cards-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-11-19'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 9
- target: $.paths['/giftcards/activate'].post
  update:
    x-apievangelist-phrasing:
      intent: Activate a gift card or load funds
      effect: write
      questions:
      - How do I activate a new gift card so customers can spend its balance?
      - Can I load funds onto a gift card when I activate it?
      instructions:
      - text: Activate a new gift card using interface {InterfaceName} {Company}.
        slots:
          InterfaceName: header.InterfaceName
          Company: header.CompanyName
      - text: Load funds onto a gift card during activation.
      method: generated
      generated: '2026-11-19'
- target: $.paths['/giftcards/allocate'].post
  update:
    x-apievangelist-phrasing:
      intent: Allocate a new gift card under a program
      effect: write
      questions:
      - How do I generate a new gift card under a specific program ID?
      - Can I allocate a card and load it in one request?
      instructions:
      - text: Allocate a new gift card under program {programId} with {amount}.
        slots:
          programId: requestBody.programId
          amount: requestBody.amount
      - text: Generate and activate a new gift card for program {programId} at {dateTime}.
        slots:
          programId: requestBody.programId
          dateTime: requestBody.dateTime
      method: generated
      generated: '2026-11-19'
- target: $.paths['/giftcards/deactivate'].post
  update:
    x-apievangelist-phrasing:
      intent: Deactivate a gift card
      effect: destructive
      questions:
      - How do I stop a gift card from being used to process transactions?
      - Does a gift card keep its balance after I deactivate it?
      instructions:
      - text: Deactivate a gift card using interface {interface_name} and access token {access_token}, leaving its balance in place.
        slots:
          interface_name: header.InterfaceName
          access_token: header.AccessToken
      - text: Block a gift card from further use for company {company_name}.
        slots:
          company_name: header.CompanyName
      method: generated
      generated: '2026-11-19'
- target: $.paths['/giftcards/cashout'].post
  update:
    x-apievangelist-phrasing:
      intent: Cash out a gift card balance (deprecated)
      effect: destructive
      questions:
      - Is there an older cashout endpoint that removes a gift card's balance so it can be returned as cash?
      - Can I still use the deprecated gift card cashout instead of the newer cashback?
      instructions:
      - text: Use the deprecated cashout endpoint to deactivate a gift card and remove its balance, with interface {interface_name} and access token {access_token}.
        slots:
          interface_name: header.InterfaceName
          access_token: header.AccessToken
      - text: Run the legacy gift card cashout for company {company_name}.
        slots:
          company_name: header.CompanyName
      method: generated
      generated: '2026-11-19'
- target: $.paths['/giftcards/cashback'].post
  update:
    x-apievangelist-phrasing:
      intent: Cash back a gift card balance as cash
      effect: destructive
      questions:
      - How do I return a gift card's remaining balance to the customer as cash?
      - Which endpoint replaces the old gift card cashout?
      instructions:
      - text: Cash back a gift card's balance and deactivate it, using interface {interface_name} and access token {access_token}.
        slots:
          interface_name: header.InterfaceName
          access_token: header.AccessToken
      - text: Run the gift card cashback for company {company_name} so the funds can go back to the consumer as cash.
        slots:
          company_name: header.CompanyName
      method: generated
      generated: '2026-11-19'
- target: $.paths['/giftcards/reactivate'].post
  update:
    x-apievangelist-phrasing:
      intent: Reactivate a deactivated gift card
      effect: write
      questions:
      - Can I turn a deactivated gift card back on?
      - Does the old balance come back when a gift card is reactivated?
      instructions:
      - text: Reactivate a previously deactivated gift card using interface {interface_name} and access token {access_token}.
        slots:
          interface_name: header.InterfaceName
          access_token: header.AccessToken
      - text: Restore a deactivated gift card to use for company {company_name}.
        slots:
          company_name: header.CompanyName
      method: generated
      generated: '2026-11-19'
- target: $.paths['/giftcards/reload'].post
  update:
    x-apievangelist-phrasing:
      intent: Add funds to an active gift card
      effect: write
      questions:
      - How do I load additional funds onto a gift card that is already active?
      - Can I top up an existing gift card without issuing a new one?
      instructions:
      - text: Reload an active gift card with more funds using interface {interface_name} and access token {access_token}.
        slots:
          interface_name: header.InterfaceName
          access_token: header.AccessToken
      - text: Top up a gift card for company {company_name} with additional money.
        slots:
          company_name: header.CompanyName
      method: generated
      generated: '2026-11-19'
- target: $.paths['/giftcards/balance'].post
  update:
    x-apievangelist-phrasing:
      intent: Check a gift card's balance
      effect: read
      questions:
      - How much money is left on a gift card?
      - Can I look up a gift card's expiration date and discount percentage?
      - Does checking a gift card balance cost the merchant a fee?
      instructions:
      - text: Check a gift card's balance using interface {interface_name} and access token {access_token}.
        slots:
          interface_name: header.InterfaceName
          access_token: header.AccessToken
      - text: Look up the masked card number and expiration date of a gift card for company {company_name}.
        slots:
          company_name: header.CompanyName
      method: generated
      generated: '2026-11-19'
- target: $.paths['/giftcards/cancel'].post
  update:
    x-apievangelist-phrasing:
      intent: Undo the last gift card request
      effect: destructive
      questions:
      - Can I undo the last activation or reload I made on a gift card?
      - Which gift card requests can be cancelled, and does it work for sales?
      instructions:
      - text: Cancel the most recent gift card request using interface {interface_name} and access token {access_token}.
        slots:
          interface_name: header.InterfaceName
          access_token: header.AccessToken
      - text: Undo the last gift card or private label card action for company {company_name}.
        slots:
          company_name: header.CompanyName
      method: generated
      generated: '2026-11-19'

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/shift4-gift-cards-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.