Add a payment method
payment_mode_addAdd a new payment method to the shop. Requires a title. Optional fields: type (Cash, Credit_Card, Check, Bank_Transfer, Meal_Voucher, Holiday_Voucher, and their refund equivalents), accountingChapter, fixedAmount, minimumAmount, maximumAmount, cashboxLock (0 = all cashboxes). Use data_list_payments_modes to list existing methods.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Payment method type | |
| title | Yes | Name of the payment method (e.g. "Cash #2") | |
| cashboxLock | No | ID of the cashbox allowed to use this method (0 = all) | |
| fixedAmount | No | Fixed amount (e.g. for a gift certificate) | |
| maximumAmount | No | Maximum payment amount | |
| minimumAmount | No | Minimum payment amount | |
| accountingChapter | No | Accounting chapter code |