File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed
Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change 2020 * Class ApiClient
2121 * @package BoltPay
2222 *
23- * API Client to interact with Bolt APIs (https://docs.bolt.com/reference ).
23+ * API Client to interact with Bolt APIs (https://docs.bolt.com/api_reference ).
2424 */
2525class ApiClient {
2626
@@ -96,6 +96,15 @@ public function authorize(array $params) {
9696 return $ this ->httpClient ->post ($ this ->getUrl ('merchant/transactions/authorize ' ), $ params );
9797 }
9898
99+ /**
100+ * Manually review a transaction that is in the reversibly_rejected state.
101+ * @param array $params
102+ * @return Response
103+ */
104+ public function review (array $ params ) {
105+ return $ this ->httpClient ->post ($ this ->getUrl ('merchant/transactions/review ' ), $ params );
106+ }
107+
99108 private function getUrl ($ path ) {
100109 $ base = $ this ->isSandbox ? Bolt::$ apiSandboxUrl . '/v1/ ' : Bolt::$ apiProductionUrl . '/v1/ ' ;
101110 return $ base . $ path ;
You can’t perform that action at this time.
0 commit comments