$ curl "https://api.webpay.jp/v1/charges" \ -u "test_secret_eHn4TTgsGguBcW764a2KA8Yd": \ -d "amount=400" \ -d "currency=jpy" \ -d "card=tok_fBvfz0c2N5V1guv" >> require "webpay" WebPay.api_key = "test_secret_eHn4TTgsGguBcW764a2KA8Yd" WebPay::Charge.create( :amount=>400, :currency=>"jpy", :card=>"tok_fBvfz0c2N5V1guv" ) php > require "vendor/autoload.php"; use WebPay\WebPay; $webpay = new WebPay('tes