'You need to specify the channel', 'wallet_id.required' => 'You need to specify the borker', 'refID.required' => 'No reference ID found', // 'refID.unique' => 'Duplicate refID, check and try again' ); } public function authorize() { return true; } /** * Get the validation rules that apply to the request. * * @return array */ public function rules() { return [ 'msisdn' => 'required|regex:/\d{10}$/', 'amount' => 'required', 'channel' => 'required', //web, ussd, mobile app 'refID' => 'required', 'wallet_id' => 'required', ]; } }