delete Payment Request
This function deletes a payment request by its unique paymentRequestId
. If the deletion is successful, it returns null
. Otherwise, if an error occurs or the request is cancelled, it returns the corresponding error message or "Request cancelled"
.
Return
null
if the deletion is successful, otherwise the error message or "Request cancelled"
.
Parameters
payment Request Id
The unique identifier of the payment request to be deleted.