Packages

Complete Stripe SDK for Elixir with parity to the official Ruby SDK. V1+V2 coverage (193 services, 320 resource structs, 525 documented params). Per-event modules, Finch HTTP/2, RustyJSON, automatic retries, OAuth, webhooks, telemetry, per-client config, streaming pagination.

Current section

Files

Jump to
tiger_stripe lib stripe resources payments_features.ex
Raw

lib/stripe/resources/payments_features.ex

# File generated from our OpenAPI spec
defmodule Stripe.Resources.PaymentsFeatures do
@moduledoc """
ConnectEmbeddedPaymentsFeatures
"""
@typedoc """
* `capture_payments` - Whether to allow capturing and cancelling payment intents. This is `true` by default.
* `destination_on_behalf_of_charge_management` - Whether connected accounts can manage destination charges that are created on behalf of them. This is `false` by default.
* `dispute_management` - Whether responding to disputes is enabled, including submitting evidence and accepting disputes. This is `true` by default.
* `refund_management` - Whether sending refunds is enabled. This is `true` by default.
"""
@type t :: %__MODULE__{
capture_payments: boolean(),
destination_on_behalf_of_charge_management: boolean(),
dispute_management: boolean(),
refund_management: boolean()
}
defstruct [
:capture_payments,
:destination_on_behalf_of_charge_management,
:dispute_management,
:refund_management
]
@object_name "connect_embedded_payments_features"
def object_name, do: @object_name
end