DepositOption

A DepositOption describes how the user will pay the fee required for a transfer to a bank or credit union account.

Attributes

name

String: The type of the option. There are two possible types:

  • add, which means WingCash will take additional open loop cash from the sender in order to cover the fee. This option is usually available, but not always. For example, if the user wants to send all open loop cash he or she is holding, this option will not be available.
  • subtract, which means WingCash will subtract the fee from the amount to send. This option is usually available, but not always. For example, if the user wants to send an amount less than the required fee, this option will not be available.

Note

If there is no fee for the transfer, only the subtract option will be available.

amount
String containing a decimal amount: the amount WingCash will take for the transfer.
will_receive
String containing a decimal amount: the amount the user will receive in their bank or credit union account.