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.
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 |