Pass value as hash instead of functiona call
Update samples
Rename pay_request to pay in sample [ci skip]