Shift4 Gift Cards API

The Gift Cards API from Shift4 — 9 operation(s) for gift cards.

GitHub OpenAPI

Operations 9

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 /giftcards/activate Activate a gift card or load funds · Activate #
Ask an LLM
“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?”
Tell an agent
Activate a new gift card using interface {InterfaceName} {Company}.
Load funds onto a gift card during activation.
POST /giftcards/allocate Allocate a new gift card under a program · Allocate #
Ask an LLM
“How do I generate a new gift card under a specific program ID?”
“Can I allocate a card and load it in one request?”
Tell an agent
Allocate a new gift card under program {programId} with {amount}.
Generate and activate a new gift card for program {programId} at {dateTime}.
POST /giftcards/deactivate Deactivate a gift card · Deactivate #
Ask an LLM
“How do I stop a gift card from being used to process transactions?”
“Does a gift card keep its balance after I deactivate it?”
Tell an agent destructive · confirm first
Deactivate a gift card using interface {interface_name} and access token {access_token}, leaving its balance in place.
Block a gift card from further use for company {company_name}.
POST /giftcards/cashout Cash out a gift card balance (deprecated) · Cashout #
Ask an LLM
“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?”
Tell an agent destructive · confirm first
Use the deprecated cashout endpoint to deactivate a gift card and remove its balance, with interface {interface_name} and access token {access_token}.
Run the legacy gift card cashout for company {company_name}.
POST /giftcards/cashback Cash back a gift card balance as cash · Cashback #
Ask an LLM
“How do I return a gift card's remaining balance to the customer as cash?”
“Which endpoint replaces the old gift card cashout?”
Tell an agent destructive · confirm first
Cash back a gift card's balance and deactivate it, using interface {interface_name} and access token {access_token}.
Run the gift card cashback for company {company_name} so the funds can go back to the consumer as cash.
POST /giftcards/reactivate Reactivate a deactivated gift card · Reactivate #
Ask an LLM
“Can I turn a deactivated gift card back on?”
“Does the old balance come back when a gift card is reactivated?”
Tell an agent
Reactivate a previously deactivated gift card using interface {interface_name} and access token {access_token}.
Restore a deactivated gift card to use for company {company_name}.
POST /giftcards/reload Add funds to an active gift card · Reload #
Ask an LLM
“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?”
Tell an agent
Reload an active gift card with more funds using interface {interface_name} and access token {access_token}.
Top up a gift card for company {company_name} with additional money.
POST /giftcards/balance Check a gift card's balance · Balance #
Ask an LLM
“How much money is left on a gift card?”
“Can I look up a gift card's expiration date and discount percentage?”
Tell an agent
Check a gift card's balance using interface {interface_name} and access token {access_token}.
Look up the masked card number and expiration date of a gift card for company {company_name}.
POST /giftcards/cancel Undo the last gift card request · Cancel #
Ask an LLM
“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?”
Tell an agent destructive · confirm first
Cancel the most recent gift card request using interface {interface_name} and access token {access_token}.
Undo the last gift card or private label card action for company {company_name}.

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

shift4-gift-cards-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: 1.7.57
  title: Shift4 Payment Gift Cards API
  contact:
    url: https://www.shift4.com/contact-us/
servers:
- url: https://api.shift4test.com/api/rest/v1
  description: Host Direct Test URL
- url: https://api.shift4api.net/api/rest/v1
  description: Host Direct Production URL
tags:


# --- truncated at 32 KB (160 KB total) ---
# Full source: https://artifacts.apis.io/shift4/openapi/shift4-gift-cards-api-openapi.yml