Describes the fee for processing the transaction.
Properties
Name | Type | Required | Description |
---|---|---|---|
calc_type | str |
❌ | Specifies 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_type | str |
❌ | One of the following: percentage - A percentage of the transaction amount. For example, 5 percent is represented by value=5. absolute - A fixed amount |
value | float |
❌ | The 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. |