generate_payment_link
Create a hosted payment page URL to collect payments from customers. Specify amount, currency, and account number to generate a link for one-time or reusable use.
Instructions
Create a hosted Moolre Web POS payment page URL for collecting payments.
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>",
"email": "<email>",
"externalref": "<externalref>",
"reusable": "<reusable>",
"currency": "<currency>",
"accountnumber": "<accountnumber>"
},
"name": "generate_payment_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| Yes | Email of the business. | ||
| amount | Yes | Amount to be paid. | |
| headers | No | HTTP headers to include | |
| callback | No | Callback URL for payment notifications. | |
| currency | Yes | Currency of your account/wallet. | |
| metadata | No | Optional metadata to be returned in callbacks. | |
| redirect | No | Redirect URL after successful payment. | |
| reusable | Yes | Determines if the link can be used for repeat payments. 0=No, 1=Yes. | |
| externalref | Yes | Unique ID to identify the payment. | |
| accountnumber | Yes | Your Moolre Account Number. | |
| expiration_time | No | Link expiry time in minutes. Minimum 1 minute. |