Sha256: 0d9b6878ada71b615218cf6736ec2f688f84f0e508aab83c9fbb2b5ea5d8f9e9
Contents?: true
Size: 1 KB
Versions: 20
Compression:
Stored size: 1 KB
Contents
# File generated from our OpenAPI spec # frozen_string_literal: true module Stripe module Radar class EarlyFraudWarningService < StripeService # Returns a list of early fraud warnings. def list(params = {}, opts = {}) request( method: :get, path: "/v1/radar/early_fraud_warnings", params: params, opts: opts, base_address: :api ) end # Retrieves the details of an early fraud warning that has previously been created. # # Please refer to the [early fraud warning](https://stripe.com/docs/api#early_fraud_warning_object) object reference for more details. def retrieve(early_fraud_warning, params = {}, opts = {}) request( method: :get, path: format("/v1/radar/early_fraud_warnings/%<early_fraud_warning>s", { early_fraud_warning: CGI.escape(early_fraud_warning) }), params: params, opts: opts, base_address: :api ) end end end end
Version data entries
20 entries across 20 versions & 1 rubygems