Snippets
curl --header "Authorization: Basic MjEzMDcwNjQzMyQ2NDRiMTczMzVjMjIxZmI3YTlhOTk4MjRlZDczMzNhMg==" -X POST \
Http://localhost:9292/customer/pay2\
-H 'Cache-Control: no-cache' \
-H 'Content-Type: application/x-www-form-urlencoded' \
-d 'customer%5Baccount_firstname%5D=Tim&customer%5Baccount_lastname%5D=Toth&bank%5Bchecking_account_firstname%5D=Tim&bank%5Bchecking_account_lastname%5D=Toth&bank%5Baccount_number%5D=243456474134&bank%5Brouting_number%5D=021000021&bank%5Bbank_name%5D=JPMorgan%20Chase&bank%5Bcheck_date%5D=2018-05-19&products%5B0%5D%5Bprice%5D=24.99&products%5B0%5D%5Bsku%5D=Services%3AIPTVServices%3APolska%3AFamily%3A30DaysFamilyPolska&order%5Border_id%5D=182'
If you don't have account number, you can send checking_account_id in request, so it will be looked up and added to request.
curl --header "Authorization: Basic MjEzMDcwNjQzMyQ2NDRiMTczMzVjMjIxZmI3YTlhOTk4MjRlZDczMzNhMg==" -X POST \
http://watch.test.polishtvcompany.com/app-gw/customer/pay2 \
-H 'Cache-Control: no-cache' \
-H 'Content-Type: application/x-www-form-urlencoded' \
-d 'customer%5Baccount_firstname%5D=Tim&customer%5Baccount_lastname%5D=Toth&bank%5Bchecking_account_firstname%5D=Tim&bank%5Bchecking_account_lastname%5D=Toth&bank%5Baccount_number%5D=243456474134&bank%5Brouting_number%5D=021000021&bank%5Bbank_name%5D=JPMorgan%20Chase&bank%5Bcheck_date%5D=2018-05-19&products%5B0%5D%5Bprice%5D=24.99&products%5B0%5D%5Bsku%5D=Services%3AIPTVServices%3APolska%3AFamily%3A30DaysFamilyPolska&order%5Border_id%5D=182'
Comments (0)
You can clone a snippet to your computer for local editing. Learn more.