create_payment
Initiate a payment on IDPay by supplying order ID, amount, and callback URL to start transaction processing.
Instructions
Create an IDPay payment.
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": {
"order_id": "<order_id>",
"amount": "<amount>",
"callback": "<callback>"
},
"name": "create_payment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| No | Payer email | ||
| name | No | Payer name | |
| phone | No | Payer phone number | |
| amount | Yes | Payment amount in IRR (min 1000) | |
| callback | Yes | Callback URL after payment | |
| order_id | Yes | Unique order ID from your system | |
| description | No | Payment description |