We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cee41c8 commit b38f8cbCopy full SHA for b38f8cb
src/Paystack.php
@@ -361,7 +361,7 @@ public function createCustomer(){
361
return $this->setGetResponse('/customer', $data)->getResponse();
362
363
}
364
-
+
365
/**
366
* Fetch a customer based on id or code
367
* @param $customer_id
@@ -398,6 +398,24 @@ public function updateCustomer($customer_id){
398
399
400
401
+ /**
402
+ * Export tranactions in .CSV
403
+ * @return array
404
+ */
405
+ public function exportTransactions(){
406
407
+ $data = [
408
+ "from" => request()->from,
409
+ "to" => request()->to,
410
+ 'settled' => request()->settled
411
+ ];
412
413
+ $this->setRequestOptions();
414
415
+ return $this->setGetResponse('/transaction/export', $data)->getResponse();
416
417
+ }
418
419
420
421
0 commit comments