Skip to content

Commit

Permalink
Add payment_intent to Stripe.Charge.params type (beam-community#635)
Browse files Browse the repository at this point in the history
  • Loading branch information
chazsconi authored and Arie committed May 11, 2021
1 parent 94b04a6 commit 8ba6f63
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/stripe/core_resources/charge.ex
Expand Up @@ -315,7 +315,8 @@ defmodule Stripe.Charge do
optional(:object) => String.t()
},
optional(:starting_after) => t | Stripe.id(),
optional(:transfer_group) => String.t()
optional(:transfer_group) => String.t(),
optional(:payment_intent) => Stripe.PaymentIntent.t() | Stripe.id()
}
def list(params \\ %{}, opts \\ []) do
new_request(opts)
Expand Down

0 comments on commit 8ba6f63

Please sign in to comment.