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.
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 | |||