throw new NotFoundException("Token is required");
if(receivingMerchantId == null || receivingMerchantId.trim().equals(""))
throw new NotFoundException("Receiving merchant ID is required");
try {
NodeWrapper node = http.post("/payment_methods/forward", forwardRequest);
return new Result<PaymentMethodNonce>(node, PaymentMethodNonce.class);
} catch (NotFoundException e) {
throw new NotFoundException("Receiving merchant or payment metod not found");
}
}