get_coupon
Retrieve a specific coupon by its ID from the Stream payment platform to access discount details and apply to purchases.
Instructions
Get a single coupon by ID.
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": {
"coupon_id": "<coupon_id>"
},
"name": "get_coupon"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| coupon_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||