Sha256: f5585ee4fad8ef5146fa70bdaad50c6947e61a5e44e8c5a660cce44084925f16

Contents?: true

Size: 850 Bytes

Versions: 26

Compression:

Stored size: 850 Bytes

Contents

# File generated from our OpenAPI spec
# frozen_string_literal: true

module Stripe
  module Identity
    class VerificationSession < APIResource
      extend Stripe::APIOperations::Create
      extend Stripe::APIOperations::List
      include Stripe::APIOperations::Save

      OBJECT_NAME = "identity.verification_session"

      custom_method :cancel, http_verb: :post
      custom_method :redact, http_verb: :post

      def cancel(params = {}, opts = {})
        request_stripe_object(
          method: :post,
          path: resource_url + "/cancel",
          params: params,
          opts: opts
        )
      end

      def redact(params = {}, opts = {})
        request_stripe_object(
          method: :post,
          path: resource_url + "/redact",
          params: params,
          opts: opts
        )
      end
    end
  end
end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
stripe-6.3.0 lib/stripe/resources/identity/verification_session.rb
stripe-6.2.0 lib/stripe/resources/identity/verification_session.rb
stripe-6.1.0 lib/stripe/resources/identity/verification_session.rb
stripe-6.0.0 lib/stripe/resources/identity/verification_session.rb
stripe-5.55.0 lib/stripe/resources/identity/verification_session.rb
stripe-5.54.0 lib/stripe/resources/identity/verification_session.rb
stripe-5.53.0 lib/stripe/resources/identity/verification_session.rb
stripe-5.52.0 lib/stripe/resources/identity/verification_session.rb
stripe-5.50.0 lib/stripe/resources/identity/verification_session.rb
stripe-5.49.0 lib/stripe/resources/identity/verification_session.rb
stripe-5.48.0 lib/stripe/resources/identity/verification_session.rb
stripe-5.47.0 lib/stripe/resources/identity/verification_session.rb
stripe-5.46.0 lib/stripe/resources/identity/verification_session.rb
stripe-5.45.0 lib/stripe/resources/identity/verification_session.rb
stripe-5.44.0 lib/stripe/resources/identity/verification_session.rb
stripe-5.43.0 lib/stripe/resources/identity/verification_session.rb
stripe-5.42.0 lib/stripe/resources/identity/verification_session.rb
stripe-5.41.0 lib/stripe/resources/identity/verification_session.rb
stripe-5.40.0 lib/stripe/resources/identity/verification_session.rb
stripe-5.39.0 lib/stripe/resources/identity/verification_session.rb