iotoms Docs

Delete a payment mode

DELETE
/api/v1/transaction/paymodes/{id}

Permanently deletes a payment mode and returns 204 with no body, or not found if it does not exist. To stop offering it but keep it, set its status to INACTIVE instead.

How to use it

  1. Get the payment mode ID from List payment modes.
  2. Send the delete; it is removed permanently and the call returns 204, or not found if the ID does not exist. Set status INACTIVE to keep it instead.

Authorization

BearerAuth
headerAuthorizationBearer <JWT>

Path Parameters

id*integer

ID of the record.

Formatint64

Response Body

OK

Example Request
curl -X DELETE 'https://beta.iotoms.com/api/v1/transaction/paymodes/0'
Example Response
Empty