lib/stripe/resources/funding_instructions.rb in stripe-7.1.0 vs lib/stripe/resources/funding_instructions.rb in stripe-7.2.0.pre.beta.1
- old
+ new
@@ -1,8 +1,13 @@
# File generated from our OpenAPI spec
# frozen_string_literal: true
module Stripe
+ # Each customer has a [`balance`](https://stripe.com/docs/api/customers/object#customer_object-balance) that is
+ # automatically applied to future invoices and payments using the `customer_balance` payment method.
+ # Customers can fund this balance by initiating a bank transfer to any account in the
+ # `financial_addresses` field.
+ # Related guide: [Customer Balance - Funding Instructions](https://stripe.com/docs/payments/customer-balance/funding-instructions) to learn more
class FundingInstructions < APIResource
OBJECT_NAME = "funding_instructions"
def resource_url
if !respond_to?(:customer) || customer.nil?