From ad46ce0e87e01d2e148dc3f2e520d3c0bed2f5f7 Mon Sep 17 00:00:00 2001 From: Cristiano Betta Date: Mon, 9 Dec 2024 22:26:06 +0000 Subject: [PATCH] feat(digital-wallets): Add session APIs --- lib/Gr4vyConfig.php | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/lib/Gr4vyConfig.php b/lib/Gr4vyConfig.php index 554adcf..23b35de 100644 --- a/lib/Gr4vyConfig.php +++ b/lib/Gr4vyConfig.php @@ -451,4 +451,16 @@ public function generateReportDownloadUrl($report_id, $report_execution_id, $req $response = $this->post("/reports/". $report_id . "/executions/" . $report_execution_id . "/url", $request); return $response; } + public function newApplePaySesson($request = array()) { + $response = $this->post("/digital-wallets/apple/session/", $request); + return $response; + } + public function newGooglePaySession($request = array()) { + $response = $this->post("/digital-wallets/google/session/", $request); + return $response; + } + public function newClickToPaySession($request = array()) { + $response = $this->post("/digital-wallets/click-to-pay/session/", $request); + return $response; + } }