paymentMethods resource type
Represents a method of payment in Dynamics 365 Business Central, such as PayPal, credit card, and bank account.
Note
For information about enabling APIs for Dynamics NAV 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"
}
See also
Graph Reference
Working with Dynamics 365 Business Central in Microsoft Graph
Enabling the APIs for Dynamics 365 Business Central
Endpoints for the APIs
Error Codes
Get Payment Methods
Create Payment Methods
Update Payment Methods
Delete Payment Methods