GoLang 아임포트(http://iamport.kr/) REST API Client
$ go get github.com/ClaudeSeo/go-iamport
import (
"github.com/ClaudeSeo/go-iamport"
)
func main() {
im := iamport.New("imp_apikey" "ekKoeW8RyKuT0zgaZsUtXXTLQ4AhPFW3ZGseDA6bkA5lamv9OqDMnxyeB9wqOsuO9W3Mx9YSJ4dTqJ3f")
// 아임포트 고유번호로 결제 정보 조회
result, err := im.FindByImpUID("imp_uid")
// 상품 아이디로 결제 정보 조회
result, err := im.FindByMerchantUID("merchant_uid")
}
- get token
- find by merchant_uid
- find by imp_uid
- payment one time
- payment again
- schedule
- unschedule
- payment cancel
- prepare
- receipts
- subscribe.customer
- vbanks
- sms certification