diff --git a/lib/stripe/resources/payment_intent.rb b/lib/stripe/resources/payment_intent.rb
index <HASH>..<HASH> 100644
--- a/lib/stripe/resources/payment_intent.rb
+++ b/lib/stripe/resources/payment_intent.rb
@@ -10,11 +10,21 @@ module Stripe
 
     OBJECT_NAME = "payment_intent"
 
+    custom_method :apply_customer_balance, http_verb: :post
     custom_method :cancel, http_verb: :post
     custom_method :capture, http_verb: :post
     custom_method :confirm, http_verb: :post
     custom_method :verify_microdeposits, http_verb: :post
 
+    def apply_customer_balance(params = {}, opts = {})
+      request_stripe_object(
+        method: :post,
+        path: resource_url + "/apply_customer_balance",
+        params: params,
+        opts: opts
+      )
+    end
+
     def cancel(params = {}, opts = {})
       request_stripe_object(
         method: :post,
API Updates (#<I>)

* Codegen for openapi fc5a2b9



* Reformat code