Membership 2 Pro - How to apply coupon code automatically

Is there a way to pass a coupon value in the URL when a user registers for a paid membership so they don't need to enter the coupon code? Or is there a hidden input I can use in the button form that would add a coupon value?