From f540d5fc5a737bb6dea448f6627e8eed530356d4 Mon Sep 17 00:00:00 2001 From: andrii onufriichuk Date: Thu, 30 Nov 2023 13:19:15 +0200 Subject: [PATCH] Added capture type and authorization expire fields --- src/GraphQlSdk.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/GraphQlSdk.php b/src/GraphQlSdk.php index 7ee6b45..c5cf38e 100644 --- a/src/GraphQlSdk.php +++ b/src/GraphQlSdk.php @@ -102,6 +102,7 @@ public function getMethods(string $cartTotal = null, string $currency = null, ar } expiresAt } + captureType settings { assets { assetType @@ -303,7 +304,8 @@ public function getMethods(string $cartTotal = null, string $currency = null, ar "logoUrl" => $method["logoUrl"], "assets" => $method["assets"], "limits" => $method["limits"], - "settings" => $method["settings"] ?? null + "settings" => $method["settings"] ?? null, + "captureType" => $method["captureType"], ]; } return $methods; @@ -465,6 +467,8 @@ public function getOrder(string $orderId) payments { id status + authorizationExpiresAt + captureType } } }