diff --git a/examples/get-daily-closure.php b/examples/get-daily-closure.php new file mode 100644 index 0000000..d038b5d --- /dev/null +++ b/examples/get-daily-closure.php @@ -0,0 +1,17 @@ +public_key); +\SatispayGBusiness\Api::setPrivateKey($authData->private_key); +\SatispayGBusiness\Api::setKeyId($authData->key_id); + +$dailyClosure = \SatispayGBusiness\DailyClosure::get(null, [ + 'generate_pdf' => 'true' +]); + +var_dump($dailyClosure); diff --git a/src/DailyClosure.php b/src/DailyClosure.php new file mode 100644 index 0000000..6c6aaef --- /dev/null +++ b/src/DailyClosure.php @@ -0,0 +1,37 @@ + $headers, + 'sign' => true + ] + ); + } +} \ No newline at end of file