Home / Servers / Square API / create_gift_card
CreateGiftCard
An MCP tool from the Square API server, hosted on mcp.hjlabs.in.
CreateGiftCard Creates a digital gift card or registers a physical (plastic) gift card. The resulting gift card has a PENDING state. To activate a gift card so that it can be redeemed for purchases, call… [POST /v2/gift-cards]
Name on the gateway: square_api__create_gift_card · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
idempotency_key required | string | A unique identifier for this request, used to ensure idempotency. For more… |
location_id required | string | The ID of the location where the gift card should be registered for reporting… |
gift_card required | object | The gift card to create. The type field is required for this request. The… |
How to call it
Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:
{
"name": "square_api__create_gift_card",
"arguments": {
"idempotency_key": "…",
"location_id": "…",
"gift_card": "…"
}
}Or connect the Square API server directly, which lists 308 tools including this one:
claude mcp add --transport http hj-square-api https://mcp.hjlabs.in/mcp/square-api \
--header "Authorization: Bearer YOUR_API_KEY"Try asking
Use the creategiftcard tool with idempotency_key set to ….