generate_token
Create a payment token for a specified order ID and PKR amount, with optional expiry, to enable Easypaisa wallet or over-the-counter payments.
Instructions
Generate a payment token.
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>",
"order_id": "<order_id>"
},
"name": "generate_token"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | Transaction amount in PKR | |
| order_id | Yes | Unique order ID | |
| expiry_date | No | Token expiry date (yyyyMMdd HHmmss) |