DeleteImage

[POST] .../v1/paymenttype/deleteimage

Deletes payment method image. Delete a payment method image when the payment method should no longer display that image. It requires a positive image id, verifies that the image exists, removes the common image record and returns row_affected after updating the payment method timestamp. The caller must have payment method edit permission; missing body, invalid id, denied access, missing image, related storage failures and storage errors are returned as HTTP 200 ErrorResult.

Request Parameters

Name Type Required Description
id Int64 Required Record ID.

Request Example

{
  "id": 15
}

Response Parameters

Name Type Description
ok Boolean Indicates whether the request completed successfully.
result Update Update operation result.

Response Example

{
  "ok": true,
  "result": {
    "row_affected": 1
  }
}