deletePaymentRequest

public final String deletePaymentRequest(String paymentRequestId)

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

paymentRequestId

The unique identifier of the payment request to be deleted.