deletePaymentRequests

public final Unit deletePaymentRequests(List<String> paymentRequestIds)

Deletes multiple payment requests in one operation.

If the deletion is successful, the function completes normally. If an error occurs, it throws a GiniHealthException containing detailed error information including status code, error response items (with error codes and affected payment request IDs), request ID, and the original exception. If the request is cancelled, it throws a standard Exception.

Parameters

paymentRequestIds

The list of payment request IDs to be deleted.

Throws

if the deletion fails with an API error

if the request is cancelled