create_link
Create a payment link for IDPay to accept payments. Specify the amount in IRR and a description to generate a shareable payment URL.
Instructions
Create a payment 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": {
"amount": "<amount>",
"description": "<description>"
},
"name": "create_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Payment link name/title | |
| amount | Yes | Payment link amount in IRR | |
| description | Yes | Payment link description |