Buy credits
get_topup_linkCreate a payment link to buy credits. Packs: rm15 = RM15 for 15 credits; rm30 = RM30 for 35 credits; rm50 = RM50 for 75 credits. Payment methods: chip = FPX online banking or DuitNow QR (choose on the payment page); fpx = FPX online banking (personal); fpx_b2b1 = FPX online banking (business); duitnow_qr = DuitNow QR; tng = Touch 'n Go eWallet; grabpay = GrabPay; card = Credit / debit card. Ask the user which method they prefer if they haven't said (default "chip"). Give the link to the user to open.
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": {
"pack": "<pack>"
},
"name": "get_topup_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pack | Yes | ||
| method | No | chip |