Code: Select all
$data = $transactionService->getPaymentData(
array('username' => 'u1'),
array('username' => 'u2'),
null);
While I have already created transfer types in system user configuration section of Account Type.Payment type is required
JSON Output:
Code: Select all
"{"class":"org.cyclos.model.ValidationException","errorCode":"VALIDATION","validation":{"class":"org.cyclos.utils.ValidationResult","properties":["type"],"propertyErrors":{"type":["Payment type is required"]},"firstError":"Payment type is required","allErrors":["Payment type is required"]}}"