refundLastPurchase

Processes a refund for the User with the given id. Must validate that the User exists and has a refundable Transaction.

Return

The Result of the operation.

Parameters

userId
The id of the User.
open suspend override fun refundLastPurchase(userId: String): Result<String>