create_payment_link
Generate payment or checkout links on Stream for one-time or recurring products with item details, coupons, and customizable parameters.
Instructions
Create a new payment / checkout link on Stream.
items is a list of objects, each containing:
product_id (str, required)
quantity (int ≥ 1, optional, default 1)
coupons (list[str], optional)
You cannot mix one-time and recurring products in the same link.
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": {
"name": "<name>",
"items": "<items>"
},
"name": "create_payment_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| items | Yes | ||
| description | No | ||
| currency | No | SAR | |
| valid_until | No | ||
| max_number_of_payments | No | ||
| organization_consumer_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||