Gift a pack (real money)
gift_packGift a shop pack to another player (any kingdom), paid with this account's store credit, exactly like the shop's gift button with store credit (POST /v1/iap/gift). Find the player with find_players. To pay with real money instead, use buy_pack with gift_to_account_id. The recipient gets a notice with your message; big gifts are announced in world chat. A gift is the pack at its listed price, with a daily cap.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sku | Yes | the pack's sku, from shop_packs | |
| message | No | optional message shown with the gift (max 200 characters) | |
| to_account_id | No | the recipient's account_id, from find_players (preferred: names can repeat) | |
| to_display_name | No | or the recipient's exact display name |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||