Adjoe.DoPayout(AdjoePayoutSuccessListener, AdjoePayoutErrorListener);
public void AdjoePayoutSuccessListener(AdjoePayoutResponse response)
// the payout was executed successfully
//get the amount of paid out coins
int paidOutCoins = response.Coins;
public void AdjoePayoutErrorListener(AdjoePayoutError error)
// an error occurred while paying out the coins
// get information about why it failed
// - AdjoePayoutError.UNKNOWN
// - AdjoePayoutError.NOT_ENOUGH_COINS
// - AdjoePayoutError.TOS_NOT_ACCEPTED
int reason = error.Reason;
// if available, get more information about the error
if (error.Exception != null) {
Console.WriteLine(error.Exception.ToString());