paymentMethod resource type

Represents a payment method in Business Central.

Note

For information about enabling APIs for Business Central see Enabling the APIs for Dynamics 365 Business Central.

Methods

MethodReturn TypeDescription
GET paymentMethodpaymentMethodGets a payment method object.
DELETE paymentMethodnoneDeletes a payment method object.
POST paymentMethodpaymentMethodCreates a payment method object.
PATCH paymentMethodpaymentMethodUpdates a payment method object.

Properties

PropertyTypeDescription
idGUIDThe unique ID of the payment method. Non-editable.
codestringThe code of the payment method.
displayNamestringSpecifies the payment method's name. This name will appear on all sales documents for the payment method.
lastModifiedDateTimedatetimeThe last datetime the payment method was modified. Read-Only.

JSON representation

Here's a JSON representation of the paymentMethod resource.

{
    "id": "GUID",
    "code": "string",
    "displayName": "string",
    "lastModifiedDateTime": "datetime"
}

GET paymentMethod
DELETE paymentMethod
POST paymentMethod
PATCH paymentMethod