diff --git a/src/Exception/ApiException.php b/src/Exception/ApiException.php
index <HASH>..<HASH> 100644
--- a/src/Exception/ApiException.php
+++ b/src/Exception/ApiException.php
@@ -13,17 +13,32 @@ class ApiException extends Exception
     private $responseCode;
 
     /**
+     * @var string
+     */
+    private $responseId;
+
+    /**
      * @param string $message
      * @param int $responseCode
+     * @param string $responseId
      */
-    public function __construct(string $message, int $responseCode)
+    public function __construct(string $message, int $responseCode, string $responseId)
     {
         $this->responseCode = $responseCode;
+        $this->responseId = $responseId;
 
         parent::__construct($message);
     }
 
     /**
+     * @return string
+     */
+    public function getResponseId(): string
+    {
+        return $this->responseId;
+    }
+
+    /**
      * @return int
      */
     public function getResponseCode(): int
Added new responseId field to base exception class. (bunq/sdk_php#<I>)