View Source Stripe.Tax.Association (stripity_stripe v3.3.1)

A Tax Association exposes the Tax Transactions that Stripe attempted to create on your behalf based on the PaymentIntent input

Summary

Types

t()

The tax.association type.

Functions

Finds a tax association object by PaymentIntent id.

Types

@type t() :: %Stripe.Tax.Association{
  calculation: binary(),
  id: binary(),
  object: binary(),
  payment_intent: binary(),
  tax_transaction_attempts: term() | nil
}

The tax.association type.

  • calculation The Tax Calculation that was included in PaymentIntent.
  • id Unique identifier for the object.
  • object String representing the object's type. Objects of the same type share the same value.
  • payment_intent The PaymentIntent that this Tax Association is tracking.
  • tax_transaction_attempts Information about the tax transactions linked to this payment intent

Functions

Link to this function

find(params \\ %{}, opts \\ [])

View Source
@spec find(
  params :: %{
    optional(:expand) => [binary()],
    optional(:payment_intent) => binary()
  },
  opts :: Keyword.t()
) :: {:ok, t()} | {:error, Stripe.ApiErrors.t()} | {:error, term()}

Finds a tax association object by PaymentIntent id.

Details

  • Method: get
  • Path: /v1/tax/associations/find