Create or update payment method
PUT/api/meshobjects/meshpaymentmethods/:name
Create or update a meshPaymentMethod by identifier. This endpoint supports both updating an existing payment method as well as creating a new payment method if a payment method with this identifier does not exist yet.
Request
Responses
- 200
- 201
- 400
- 401
- 403
- 404
- 406
- 409
- 415
Payment method updated
Payment method created
The request is invalid. The message names the invalid part.
The request has no valid authentication.
The authenticated user or API key lacks the permission for this request.
The resource does not exist, or you may not see it.
The Accept header names no media type of this operation, or a version that is no longer supported.
The request conflicts with the current state, for example with an existing object of the same name. The message names the conflict.
The Content-Type header names no media type that this operation accepts.