Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel gigapay create employee

use MazimezGigapayEmployee;

$employee = Employee::create(
            'jhone doe',  //employee's name (required)
            '12323test@gmail.com',  //employee's email (has to be unique)
            null,  //employee's phone number(proper swidish phone number, has to be unique)
            'SWE', //employee's contry
            json_encode([
                "data" => "data from your system"  //any metadata that you want to add from you system(json encoded)
            ]),
            '123dvsdv23' //employee's ID(has to be unique)
        );
return $employee->getJson();
 
PREVIOUS NEXT
Tagged: #laravel #gigapay #create #employee
ADD COMMENT
Topic
Name
1+6 =