Bearbeiten

Teilen über


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

Method Return Type Description
GET paymentMethod paymentMethod Gets a payment method object.
DELETE paymentMethod none Deletes a payment method object.
POST paymentMethod paymentMethod Creates a payment method object.
PATCH paymentMethod paymentMethod Updates a payment method object.

Properties

Property Type Description
id GUID The unique ID of the payment method. Non-editable.
code string The code of the payment method.
displayName string Specifies the payment method's name. This name will appear on all sales documents for the payment method.
lastModifiedDateTime datetime The last datetime the payment method was modified. Read-Only.

JSON representation

Here is a JSON representation of the paymentMethod resource.

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

GET paymentMethod
DELETE paymentMethod
POST paymentMethod
PATCH paymentMethod