Sha256: 52cbcd7980b5a7de192414680a149ffa8ce95caad44267483d21f15ce73d8012

Contents?: true

Size: 807 Bytes

Versions: 13

Compression:

Stored size: 807 Bytes

Contents

# File generated from our OpenAPI spec
# frozen_string_literal: true

module Stripe
  class CustomerFundingInstructionsService < StripeService
    # Retrieve funding instructions for a customer cash balance. If funding instructions do not yet exist for the customer, new
    # funding instructions will be created. If funding instructions have already been created for a given customer, the same
    # funding instructions will be retrieved. In other words, we will return the same funding instructions each time.
    def create(customer, params = {}, opts = {})
      request(
        method: :post,
        path: format("/v1/customers/%<customer>s/funding_instructions", { customer: CGI.escape(customer) }),
        params: params,
        opts: opts,
        base_address: :api
      )
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
stripe-13.3.0.pre.beta.1 lib/stripe/services/customer_funding_instructions_service.rb
stripe-13.2.0 lib/stripe/services/customer_funding_instructions_service.rb
stripe-13.1.2 lib/stripe/services/customer_funding_instructions_service.rb
stripe-13.2.0.pre.beta.3 lib/stripe/services/customer_funding_instructions_service.rb
stripe-13.2.0.pre.beta.2 lib/stripe/services/customer_funding_instructions_service.rb
stripe-13.1.1 lib/stripe/services/customer_funding_instructions_service.rb
stripe-13.2.0.pre.beta.1 lib/stripe/services/customer_funding_instructions_service.rb
stripe-13.1.0 lib/stripe/services/customer_funding_instructions_service.rb
stripe-13.0.2 lib/stripe/services/customer_funding_instructions_service.rb
stripe-13.1.0.pre.beta.3 lib/stripe/services/customer_funding_instructions_service.rb
stripe-13.0.1 lib/stripe/services/customer_funding_instructions_service.rb
stripe-13.1.0.pre.beta.2 lib/stripe/services/customer_funding_instructions_service.rb
stripe-13.0.0 lib/stripe/services/customer_funding_instructions_service.rb