Delete a payment mode
DELETE
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
- Get the payment mode ID from List payment modes.
- 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.
BearerAuthheader
AuthorizationBearer <JWT>id*integerID of the record.
Format
int64Example Request
curl -X DELETE 'https://beta.iotoms.com/api/v1/transaction/paymodes/0'Example Response
Empty