diff --git a/lib/Gr4vyConfig.php b/lib/Gr4vyConfig.php index b1397ab..554adcf 100644 --- a/lib/Gr4vyConfig.php +++ b/lib/Gr4vyConfig.php @@ -403,6 +403,10 @@ public function getTransaction($transaction_id) { $response = $this->get("/transactions/" . $transaction_id); return $response; } + public function syncTransaction($transaction_id) { + $response = $this->post("/transactions/" . $transaction_id . "/sync", null); + return $response; + } public function captureTransaction($transaction_id, $transaction_request) { $response = $this->post("/transactions/" . $transaction_id . "/capture", $transaction_request); return $response;