sudo gem install rails
sudo bundle
rails server
GET localhost:3000/payment/[imp_uid]
POST localhost:3000/payment
Request body (json example)
{
"imp_uid" : "[imp_uid]",
"merchant_uid" : "[merchant_uid]",
"reason" : "[환불사유]",
"cancel_request_amount" : [환불요청금액]
}