Search
 
SCRIPT & CODE EXAMPLE
 

PHP

laravel gigapay create payout

use MazimezGigapayPayout;

$payout = Payout::create(
            '9aa16b42-d0f3-420f-ba57-580c3c86c419', //employee id
            'Instagram samarbete 2021-11-13.', //description for payout
            120, //amount of payout
            null, //cost of payout
            null, //invoice amount of payout
            'SEK', //currency of payout
            json_encode([
                "data" => "data from your system" //metadata of payout
            ]),
            null, //The time at which the gig will start. Displayed as ISO 8601 string.
            null, //The time at which the gig will end. Displayed as ISO 8601 string.
            3 //Unique identifier for the object.
);
return $payout->getJson();
Comment

laravel gigapay payout list

use MazimezGigapayPayout;

$payouts = Payout::list(); //getting list of employee
$payouts = $payouts->paginate(1, 5);  //add pagination
return $payouts->getJson();
Comment

laravel gigapay get single payout

use MazimezGigapayPayout;

$payout = Payout::findById('1'); //getting payout by it's id
return $payout->getJson();
Comment

PREVIOUS NEXT
Code Example
Php :: cake tmp name 
Php :: laravel simplexmlelement xml add attribute 
Php :: valid number in excel php 
Php :: indian time laravel 
Php :: laravel make model and migration 
Php :: php tags 
Php :: wordpress loop 
Php :: carbon in laravel 
Php :: string to array in laravel 
Php :: file upload in php through ajax 
Php :: carbon 2 days ago 
Php :: laravel base url 
Php :: auto submit button php 
Php :: is alphanumeric php 
Php :: image watermark on image laravel 8 
Php :: php check if string contains number 
Php :: php verify associative array key eixsts 
Php :: laravel model increase the value by one 
Php :: php ini ubuntu 
Php :: laravel collection each 
Php :: get the last saved row in a table laravel 
Php :: get user avatar wordpress 
Php :: get original name without mutant model laravel 
Php :: how to return 0 as true in laravel 
Php :: how to trim white space array in php 
Php :: Notice: Undefined property: 
Php :: change php version in vagrant 
Php :: how to delete all data from table in php 
Php :: laravel migration change default value 
Php :: laravel eloquent get last record 
ADD CONTENT
Topic
Content
Source link
Name
8+4 =