Skip to main content

TransactionFee

Describes the fee for processing the transaction.

Properties

NameTypeRequiredDescription
calc_typestrSpecifies how the fee is calculated. One of the following: _ net - The fee is deducted from the amount paid. For example, in a payout of $100 with a fee of 5%, the recipient receives $95.00 and the $5.00 fee goes to the client wallet. _ gross - The fee is charged on top of the amount paid. For example, for a transaction of $100 with a fee of 5%, the sender pays $105.00. The recipient receives $100.00 and the $5.00 fee goes to the client wallet.
fee_typestrOne of the following: percentage - A percentage of the transaction amount. For example, 5 percent is represented by value=5. absolute - A fixed amount
valuefloatThe amount of the fee. Decimal, including the correct number of decimal places for the currency exponent, as defined in ISO 2417:2015. If the amount is a whole number, use an integer and not a decimal.

Build Your Own SDKs with  liblab

Build developer friendly SDKs in minutes from your APIs

Start for Free →