Create JazzCash Hosted Checkout
jazzcash_create_hosted_checkoutCreate a signed hosted checkout form that redirects customers to JazzCash for payment. Returns the action URL, hidden fields, and HTML snippet.
Instructions
Build a signed Hosted Checkout (Page Redirection) form that redirects the customer to JazzCash to pay. Returns the action URL, hidden fields, and a ready-to-use HTML form snippet. Amount is in PKR paisa (rupees * 100).
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_paisa": "<amount_paisa>",
"description": "<description>",
"bill_reference": "<bill_reference>"
},
"name": "jazzcash_create_hosted_checkout"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount_paisa | Yes | Amount in PKR paisa (rupees * 100). | |
| description | Yes | ||
| bill_reference | Yes | ||
| txn_ref_no | No | Defaults to T + yyyymmddhhmmss. | |
| return_url | No | ||
| ppmpf_1 | No | ||
| ppmpf_2 | No | ||
| ppmpf_3 | No | ||
| ppmpf_4 | No | ||
| ppmpf_5 | No |