Fee
Defines how fees are structured and applied in transactions, including transaction fees, origin, destination, and FX fees.
Last updated
Defines how fees are structured and applied in transactions, including transaction fees, origin, destination, and FX fees.
Last updated
The Fee model defines the structure of a fee applied to transactions. Fees can be related to the entire transaction or specific parts of it, such as the origin or destination. Each fee includes details about its calculation method (percentage or fixed), the currency in which it is applied, and the fee amount. This ensures consistency and accuracy when fees are included in financial operations.
name
string
Identifier for the fee type (e.g., transaction fee).
type
string
Specifies whether the fee applies to the transaction, origin, or destination.
method
string
Defines how the fee is calculated (PERCENTAGE
or FIXED
).
currency
string
Currency in which the fee is applied.
value
string
The fee amount or percentage.
amount
string
The amount fee applied to the transaction.