paymentMethods resource type (v1.0)
NEW VERSION This is v1.0 of the Business Central API. For the newest version, see Business Central API (V2.0).
Represents a method of payment in Business Central, such as PayPal, credit card, and bank account.
Note
For information about enabling APIs for Business Central see Enabling the APIs for Dynamics 365 Business Central.
Methods
Method | Return Type | Description |
---|---|---|
GET paymentMethods | paymentMethods | Gets a payment method object. |
POST paymentMethods | paymentMethods | Creates a payment method object. |
PATCH paymentMethods | paymentMethods | Updates a payment method object. |
DELETE paymentMethods | none | Deletes a payment method object. |
Properties
Property | Type | Description |
---|---|---|
id | GUID | The unique ID of the paymentMethods. Non-editable. |
code | string | Specifies the payment method code. |
displayName | string | Specifies the payment method display name. |
lastModifiedDateTime | datetime | The last datetime the payment method was modified. Read-Only. |
Relationships
None
JSON representation
Here is a JSON representation of the paymentMethods.
{
"id": "GUID",
"code": "string",
"displayName": "string",
"lastModifiedDateTime": "datetime"
}
Related information
Get Payment Methods
Create Payment Methods
Update Payment Methods
Delete Payment Methods