Initial commit
diff --git a/includes/admin/class-wc-stripe-rest-base-controller.php b/includes/admin/class-wc-stripe-rest-base-controller.php
new file mode 100644
index 0000000..5cf0d33
--- /dev/null
+++ b/includes/admin/class-wc-stripe-rest-base-controller.php
@@ -0,0 +1,28 @@
+<?php
+/**
+ * Class WC_Stripe_REST_Base_Controller
+ */
+
+defined( 'ABSPATH' ) || exit;
+
+/**
+ * REST controller for transactions.
+ */
+class WC_Stripe_REST_Base_Controller extends WP_REST_Controller {
+
+	/**
+	 * Endpoint namespace.
+	 *
+	 * @var string
+	 */
+	protected $namespace = 'wc/v3';
+
+	/**
+	 * Verify access.
+	 *
+	 * Override this method if custom permissions required.
+	 */
+	public function check_permission() {
+		return current_user_can( 'manage_woocommerce' );
+	}
+}