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 } } }