Calculate Total w/ Fee
Calculate Total w/ Fee
### Calculate Total with Fee
The **Calculate Total with Fee** endpoint lets you pre-calculate the payment channel's fee before generating a transaction. This is useful if you want to display a UI confirmation showing the total amount including fees on your platform.
This endpoint is optional and depends on how you design your payment flow. It is recommended if your credentials apply an additional fee on top of the original amount.
Query parameters
channel_code
Values are available via the Get Channels endpoint. Refer to the code parameter in the response.
amount
Must be between 0.01 and 50,000.
Response
OK
message
data