Offsite Payment App: Retrieve VAT Before Redirecting to Payment Gateway

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?

Hi @Miguel_Angel_Camacho, thanks for reaching out about this. We’d like to understand your use case better and explore how we can help.

To move forward, can you please contact our support team with the following details:

  • Is this a regulatory requirement?
  • Can you share official documentation on the requirement?
  • What payment app are you requesting this for?
  • Which payment method within the app needs tax details?
  • Any other relevant information that would help us support your request.

Thank you!