> ## Documentation Index
> Fetch the complete documentation index at: https://developer.jtl-software.com/llms.txt
> Use this file to discover all available pages before exploring further.

# PaymentMethod

> A payment method such as cash, bank transfer or credit card. Documents, payments and customers refer to it. The name and the print texts per language are under 'translations'; 'name' here is the name in the default language.



**Kind**: `object`

## Fields

**`id`**: `ID!`

The ID of the payment method.

---

**`name`**: `String`

The name in the default language. It is unique among the payment methods, ignoring case.

---

**`isActive`**: `Boolean!`

Whether the payment method can be chosen for new documents. Documents that carry an inactive method keep it.

---

**`isDefault`**: `Boolean!`

Whether this is the payment method used when a customer has none. There is exactly one, and it is active.

---

**`generalLedgerAccount`**: `String`

The G/L account that payments of this method are posted to unless the payment names another. At most 32 characters.

---

**`supportsDirectDebit`**: `Boolean!`

Whether the amount can be collected by direct debit.

---

**`canShipBeforePayment`**: `Boolean!`

Whether an order with this payment method can be shipped before the payment arrived.

---

**`isDunningEnabled`**: `Boolean!`

Whether open invoices paid with this method are dunned.

---

**`cashDiscount`**: `PaymentMethodCashDiscount`

The cash discount for early payment. Empty means none.

---

**`ebayPaymentOption`**: `String`

The eBay payment option this method is matched with when eBay orders arrive. Empty when it is matched with none. It is a code of eBay's list of payment options.

---

**`reservationPriority`**: `Int!`

The priority of orders with this method when stock is reserved first in, first out. It only has an effect when that reservation is switched on. 0 to 255.

