Sha256: 2c49fbd6d46f1e087b667fd27a2a59456a9827e28fd8fcf5cf3c49702a72a43e

Contents?: true

Size: 795 Bytes

Versions: 2

Compression:

Stored size: 795 Bytes

Contents

# File generated from our OpenAPI spec
# frozen_string_literal: true

module Stripe
  # Stripe needs to collect certain pieces of information about each account
  # created. These requirements can differ depending on the account's country. The
  # Country Specs API makes these rules available to your integration.
  #
  # You can also view the information from this API call as [an online
  # guide](https://stripe.com/docs/connect/required-verification-information).
  class CountrySpec < APIResource
    extend Stripe::APIOperations::List

    OBJECT_NAME = "country_spec"

    # Lists all Country Spec objects available in the API.
    def self.list(filters = {}, opts = {})
      request_stripe_object(method: :get, path: "/v1/country_specs", params: filters, opts: opts)
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
stripe-10.9.0.pre.beta.1 lib/stripe/resources/country_spec.rb
stripe-10.8.0 lib/stripe/resources/country_spec.rb