We are implementing an Offsite Payment App. Our payment provider requires the VAT amount before redirecting the customer to the payment page.
We know that Order.taxLines contains the VAT breakdown, but the Order is only created after the payment has been completed.
During the Payment Session callback, is there any supported API that exposes the equivalent taxLines (or tax breakdown) for the current Checkout or Cart before the Order exists?
If not, what is the recommended approach for payment providers that require the VAT amount before processing the payment?