Followed the article:

to run the curl command for redeeming HFC from coupon, and it does not work, need help with redeeming coupon please!

Used the following curl command from the command line to dispense the money authorized in (1) to username Eldrefayne:curl -X PUT -d authorization_id= <PLACED-AUTH-ID-HERE from 1> -d coupon_id=<PLACED-COUPON-ID-HERE from 1>_ -d username=Eldrefayne

Went to Scripting console and ran it and it returned syntax error, and then tried to run it in Running Scripts as a .js file and nothing happened.