Sha256: 9c7f20e4abe893547cdf59265e4b06febd8bb2b0d74e1784238bc5f4b9357ec6
Contents?: true
Size: 1.31 KB
Versions: 8
Compression:
Stored size: 1.31 KB
Contents
# File generated from our OpenAPI spec # frozen_string_literal: true module Stripe module Capital class FinancingOfferService < StripeService # Retrieves the financing offers available for Connected accounts that belong to your platform. def list(params = {}, opts = {}) request( method: :get, path: "/v1/capital/financing_offers", params: params, opts: opts, base_address: :api ) end # Acknowledges that platform has received and delivered the financing_offer to # the intended merchant recipient. def mark_delivered(financing_offer, params = {}, opts = {}) request( method: :post, path: format("/v1/capital/financing_offers/%<financing_offer>s/mark_delivered", { financing_offer: CGI.escape(financing_offer) }), params: params, opts: opts, base_address: :api ) end # Get the details of the financing offer def retrieve(financing_offer, params = {}, opts = {}) request( method: :get, path: format("/v1/capital/financing_offers/%<financing_offer>s", { financing_offer: CGI.escape(financing_offer) }), params: params, opts: opts, base_address: :api ) end end end end
Version data entries
8 entries across 8 versions & 1 rubygems