Skip to content
Koo Jun Ho edited this page Feb 22, 2016 · 8 revisions

API 종류

authenticate : REST API사용을 위한 인증(access_token취득)

  • POS /users/getToken
    • Iamport::getAccessCode

payments : 결제내역 조회 및 결제 취소

  • GET /payments/{imp_uid}
    • Iamport::findByImpUID
  • GET /payments/find/{merchant_uid}
    • Iamport::findByMerchantUID
  • GET /payments/status/{payment_status}
    • 없어서 추가 => Iamport::getPaymentStatus($payment_status = 'all', $page = null)
  • POST /payments/cancel
    • Iamport::cancel

payments.validation : payments확장기능. 결제될 내역에 대한 사전정보 등록&검증

  • POST /payments/prepare
    • 없어서 추가 => Iamport::preparePayment($data)
  • GET /payments/prepare/{merchant_uid}
    • 없어서 추가 => Iamport::getPreparePayment($merchant_uid)

subscribe : ActiveX없는 간편결제, 정기 예약 결제 기능

  • POST /subscribe/payments/onetime
    • Iamport::sbcr_onetime
  • POST /subscribe/payments/again
    • Iamport::sbcr_again
  • POST /subscribe/payments/schedule
    • 없어서 추가 => Iamport::sbcr_schedule($data)
  • POST /subscribe/payments/unschedule
    • 없어서 추가 => Iamport::sbcr_unschedule($data)

subscribe.customer : subscribe확장기능. 구매자 빌키 관리

  • DELETE /subscribe/customers/{customer_uid}
    • 없어서 추가 => Iamport::delete_subscribe_customers($customer_uid)
  • GET /subscribe/customers/{customer_uid}
    • 없어서 추가 => Iamport::get_subscribe_customers($customer_uid)
  • POST /subscribe/customers/{customer_uid}
    • 없어서 추가 => Iamport::post_subscribe_customers($customer_uid, $data)