PayPing: coupon detail
payping_get_couponFetches a coupon by code to return its expiry, maximum uses, buyers, and their spend.
Instructions
One coupon by code: expiry, max uses, buyers and their spend.
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": {
"code": "<code>"
},
"name": "payping_get_coupon"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes |