Skip to content

Commit

Permalink
Add description to Stripe.Transfer.create/2 spec
Browse files Browse the repository at this point in the history
  • Loading branch information
antoniobg committed Mar 3, 2020
1 parent 458ef6f commit a808b91
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 a808b91

Please sign in to comment.