Class/Object

org.mdedetrich.stripe.v1.Transfers

TransferInput

Related Docs: object TransferInput | package Transfers

Permalink

case class TransferInput(amount: BigDecimal, currency: Currency, destination: String, description: Option[String], metadata: Option[Map[String, String]], sourceTransaction: Option[String], statementDescriptor: Option[String], stripeAccount: Option[String], sourceType: Option[SourceType]) extends Product with Serializable

amount

A positive integer in cents representing how much to transfer.

currency

3-letter ISO code for currency.

destination

The id of a bank account or a card to send the transfer to, or the string default_for_currency to use the default external account for the specified currency. If you use Stripe Connect, this can be the the id of a connected Stripe account; see the details about when such transfers are permitted.

description

An arbitrary string which you can attach to a transfer object. It is displayed when in the web interface alongside the transfer.

metadata

A set of key/value pairs that you can attach to a transfer object. It can be useful for storing additional information about the transfer in a structured format.

sourceTransaction

You can use this parameter to transfer funds from a charge (or other transaction) before they are added to your available balance. A pending balance will transfer immediately but the funds will not become available until the original charge becomes available. See the Connect documentation for details.

statementDescriptor

A string to be displayed on the recipient's bank or card statement. This may be at most 22 characters. Attempting to use a statementDescriptor longer than 22 characters will return an error. Note: Most banks will truncate this information and/or display it inconsistently. Some may not display it at all.

stripeAccount

The Stripe Connect managed account on whose behalf the transfer should be initiated.

sourceType

The source balance to draw this transfer from. Balances for different payment sources are kept separately. You can find the amounts with the balances API. Valid options are: SourceType.AlipayAccount, SourceType.BankAccount, SourceType.BitcoinReceiver, and SourceType.Card.

Exceptions thrown

StatementDescriptorInvalidCharacter - If statementDescriptor has an invalid character

StatementDescriptorTooLong - If statementDescriptor is longer than 22 characters

See also

https://stripe.com/docs/api#create_transfer

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TransferInput
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new TransferInput(amount: BigDecimal, currency: Currency, destination: String, description: Option[String], metadata: Option[Map[String, String]], sourceTransaction: Option[String], statementDescriptor: Option[String], stripeAccount: Option[String], sourceType: Option[SourceType])

    Permalink

    amount

    A positive integer in cents representing how much to transfer.

    currency

    3-letter ISO code for currency.

    destination

    The id of a bank account or a card to send the transfer to, or the string default_for_currency to use the default external account for the specified currency. If you use Stripe Connect, this can be the the id of a connected Stripe account; see the details about when such transfers are permitted.

    description

    An arbitrary string which you can attach to a transfer object. It is displayed when in the web interface alongside the transfer.

    metadata

    A set of key/value pairs that you can attach to a transfer object. It can be useful for storing additional information about the transfer in a structured format.

    sourceTransaction

    You can use this parameter to transfer funds from a charge (or other transaction) before they are added to your available balance. A pending balance will transfer immediately but the funds will not become available until the original charge becomes available. See the Connect documentation for details.

    statementDescriptor

    A string to be displayed on the recipient's bank or card statement. This may be at most 22 characters. Attempting to use a statementDescriptor longer than 22 characters will return an error. Note: Most banks will truncate this information and/or display it inconsistently. Some may not display it at all.

    stripeAccount

    The Stripe Connect managed account on whose behalf the transfer should be initiated.

    sourceType

    The source balance to draw this transfer from. Balances for different payment sources are kept separately. You can find the amounts with the balances API. Valid options are: SourceType.AlipayAccount, SourceType.BankAccount, SourceType.BitcoinReceiver, and SourceType.Card.

    Exceptions thrown

    StatementDescriptorInvalidCharacter - If statementDescriptor has an invalid character

    StatementDescriptorTooLong - If statementDescriptor is longer than 22 characters

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. val amount: BigDecimal

    Permalink

    A positive integer in cents representing how much to transfer.

  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. val currency: Currency

    Permalink

    3-letter ISO code for currency.

  8. val description: Option[String]

    Permalink

    An arbitrary string which you can attach to a transfer object.

    An arbitrary string which you can attach to a transfer object. It is displayed when in the web interface alongside the transfer.

  9. val destination: String

    Permalink

    The id of a bank account or a card to send the transfer to, or the string default_for_currency to use the default external account for the specified currency.

    The id of a bank account or a card to send the transfer to, or the string default_for_currency to use the default external account for the specified currency. If you use Stripe Connect, this can be the the id of a connected Stripe account; see the details about when such transfers are permitted.

  10. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  11. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  13. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  14. val metadata: Option[Map[String, String]]

    Permalink

    A set of key/value pairs that you can attach to a transfer object.

    A set of key/value pairs that you can attach to a transfer object. It can be useful for storing additional information about the transfer in a structured format.

  15. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  16. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  17. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  18. val sourceTransaction: Option[String]

    Permalink

    You can use this parameter to transfer funds from a charge (or other transaction) before they are added to your available balance.

    You can use this parameter to transfer funds from a charge (or other transaction) before they are added to your available balance. A pending balance will transfer immediately but the funds will not become available until the original charge becomes available. See the Connect documentation for details.

  19. val sourceType: Option[SourceType]

    Permalink

    The source balance to draw this transfer from.

    The source balance to draw this transfer from. Balances for different payment sources are kept separately. You can find the amounts with the balances API. Valid options are: SourceType.AlipayAccount, SourceType.BankAccount, SourceType.BitcoinReceiver, and SourceType.Card.

  20. val statementDescriptor: Option[String]

    Permalink

    A string to be displayed on the recipient's bank or card statement.

    A string to be displayed on the recipient's bank or card statement. This may be at most 22 characters. Attempting to use a statementDescriptor longer than 22 characters will return an error. Note: Most banks will truncate this information and/or display it inconsistently. Some may not display it at all.

  21. val stripeAccount: Option[String]

    Permalink

    The Stripe Connect managed account on whose behalf the transfer should be initiated.

  22. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  23. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped