Pay: offers codes
pay_offers_codesList every promo and referral code attached to an offer, showing slug, owner, redemption count, and created date. Read-only.
Instructions
List the promo/referral codes attached to an offer. Lists every code on one offer, both shared promo codes and per-user referral codes, with slug, owner (or shared), redemption count and created date. Read-only. To find a specific user's personal referral code, use pay_offers_user_code.
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": {
"id": "<id>"
},
"name": "pay_offers_codes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Offer id (guid). Find it with pay_offers_list. |