Skip to main content
PATCH
Update Payment Method

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Scopes

masterdata.write
oauth2-authorization-code

Write master data

masterdata.write
oauth2-client-credentials

Write master data

Headers

Idempotency-Key
string

Optional, client-generated key for deduplicating repeated write requests. A repeated request with the same key returns the originally recorded result instead of executing the effect again.

Required string length: 1 - 255
x-tenant-id
string<uuid>
required

The tenant ID for the target ERP instance.

Path Parameters

paymentMethodId
string<uuid>
required

The ID of the payment method. The ID of a payment method.

Example:

"b45f6432-2462-4c6f-b00f-1d9d01000000"

Body

application/json

Request model for UpdatePaymentMethod command endpoint. Route parameters bind from the route, query parameters from the query string, everything else from the body.

name
string

The new name in the default language, at most 255 characters. It must be unique among the payment methods, ignoring case.

generalLedgerAccount
string

The G/L account, at most 32 characters. An empty text removes it.

isDebit
boolean

Whether the amount can be collected by direct debit.

canShipBeforePayment
boolean

Whether an order can be shipped before the payment arrived. A change applies to open orders with this payment method.

isDunningActive
boolean

Whether open invoices paid with this method are dunned.

cashDiscountValue
number<decimal>

The cash discount in percent, 0 to 100. 0 removes it.

cashDiscountDays
integer<int32>

How many days the cash discount applies, at least 0. 0 removes it.

paymentOption
string

The eBay payment option. An empty text removes it.

Response

Done. A successful change has no response payload.