How to pass the discount code in an embedded checkout?

There is a way to pass the line items in the embedded checkout, but not the coupon code. How would I do that then?
Q
Q2

WARNING: There is a difference between coupon codes which can only be passed towards the API and promotion codes which can indeed be activated via the embedded checkout form.

I already tried it with a simultaneous server connect form passing the discount code to the server connect action, sadly it did not work out. The dynamic data bindings of the embedded checkout element only allow for the line items to be passed.

Bugreport including errorlogs: