Adding missing attribute for Stripe Create Checkout Session

I am doing an implementation of Stripe and need to set “payment_method_collection” to “if_required”. This option is not available in the Stripe Implementation on Wappler.

As a workaround, I made it work by adding by editing the code of my server connect API action:

“payment_method_collection”: “if_required”

Is it ok if I added it directly in the file? I am mainly concerned that a future wappler update would void my change. Thanks