Skip to content

Commit

Permalink
Merge pull request #586 from antoniobg/add-description-to-transfer-cr…
Browse files Browse the repository at this point in the history
…eate

Add description to Stripe.Transfer.create/2 spec
  • Loading branch information
snewcomer authored Mar 3, 2020
2 parents 458ef6f + a808b91 commit 9a551af
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/stripe/connect/transfer.ex
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,8 @@ defmodule Stripe.Transfer do
:destination => Stripe.id() | Stripe.Account.t(),
optional(:metadata) => Stripe.Types.metadata(),
optional(:source_transaction) => Stripe.id() | Stripe.Charge.t(),
optional(:transfer_group) => String.t()
optional(:transfer_group) => String.t(),
optional(:description) => String.t()
}
def create(%{amount: _, currency: _, destination: _} = params, opts \\ []) do
new_request(opts)
Expand Down

0 comments on commit 9a551af

Please sign in to comment.