issue_gift_card
Mutation/readOnly:false, script-tier/no-model-token action. Issue a comp or rain-check gift card directly to a customer without charging a card, and email them their code. Requires the Owner or Admin role and confirm:true — show the amount and recipient to your supervisor and get a yes first. Storefront Pro is required.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"amountCents": "<amountCents>",
"recipientName": "<recipientName>",
"recipientEmail": "<recipientEmail>",
"confirm": "<confirm>",
"proAccessToken": "<proAccessToken>"
},
"name": "issue_gift_card"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | 'comp' (default) or 'credit' (rain check / store credit). | |
| confirm | Yes | Must be true: your supervisor has said yes. | |
| message | No | Optional personal note included in the gift card email. | |
| amountCents | Yes | Gift card value in cents ($1.00 to $2,000.00). | |
| recipientName | Yes | Recipient's full name. | |
| proAccessToken | Yes | The proAccessToken printed by confirm_pro_signup or renew_pro_access. It names the pro's storefront for this call and is valid for 24 hours. | |
| recipientEmail | Yes | Recipient's email address. |