Create bePaid payment link
bepaid_create_payment_linkCreate a one-off bePaid payment page and return its checkout URL to collect payment for an order, with optional test mode and payer fields.
Instructions
Creates a one-off bePaid payment page (checkout token) and returns its URL. Links are test payments unless the server runs with BEPAID_TEST_MODE=false.
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>",
"description": "<description>"
},
"name": "bepaid_create_payment_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| test | No | Defaults to the server test mode | |
| amount | Yes | Amount in major units, e.g. "550.00" | |
| currency | No | BYN | |
| description | Yes | Shown to the payer | |
| tracking_id | No | Your order/reference id, returned with the transaction | |
| customer_email | No | ||
| expires_in_hours | No | ||
| customer_last_name | No | ||
| customer_first_name | No | ||
| require_customer_fields | No | Fields the payer must fill in on the payment page |