Orders.created API

When using the shipment API ORDERS Field to create shipment orders. Is there a way to in realtime display ship fees on the orders on the front end of the Square UI? If you could do this then you could use the spilt payment API to take the shipment fee ?

Also is there a way to charge the sellers account for shipment fees- if they are not captured during the transaction?