Skip to content

iamport/iamport-ruby-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

iamport-ruby-example

Preparation

sudo gem install rails
sudo bundle

Serve

rails server

Test

Query payment details

GET localhost:3000/payment/[imp_uid]

Cancel payment

POST localhost:3000/payment

Request body (json example)

{
   "imp_uid" : "[imp_uid]",
   "merchant_uid" : "[merchant_uid]",
   "reason" : "[환불사유]",
   "cancel_request_amount" : [환불요청금액]
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published