create_payment_page
Create a hosted payment page via PayTabs. Provide amount, cart ID, description, and return/callback URLs to process customer payments.
Instructions
Create a hosted payment page via PayTabs.
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>",
"cart_description": "<cart_description>",
"cart_id": "<cart_id>",
"callback_url": "<callback_url>",
"return_url": "<return_url>"
},
"name": "create_payment_page"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | Payment amount | |
| cart_id | Yes | Your unique cart/order ID | |
| currency | No | Currency code (SAR, AED, USD, EGP) | SAR |
| return_url | Yes | Customer redirect URL after payment | |
| callback_url | Yes | Server-to-server callback URL | |
| cart_description | Yes | Cart/order description |