Update payment method

PATCH

Update an existing payment method using the payment method ID.

Path parameters

tenantstringRequired

Your Entra Tenant ID. More details.

environmentstringRequired

Your Business Central Environment. More details.

companystringRequired

Your Business Central Company. More details.

paymentMethodIdUUIDRequired

Unique identifier for a payment method.

Headers

x-api-versiondateOptional

Used for API versioning. More details.

Request

This endpoint expects an object.
paymentMethodobjectRequired

This DTO is used when updating an existing payment method.

Response

This endpoint returns an object.
paymentMethodobject

The PaymentMethodRetrieveDTO extends the PaymentMethodDTO and includes additional property - the payment method ID. This DTO is used when retrieving infromation about existing payment methods.