reserve

reserve

POST /payment/reserve/

Headers

NameTypeDescription

Authorization

string

Token <발급받은 token>

Request Body

NameTypeDescription

pay_method

string

card, trans, vbank, ...

event_id

integer

이벤트 ID

goods_id

integer

상품 ID

user_phone

string

사용자 핸드폰 번호

{
    "id": 29,
    "pay_method": "card",
    "merchant_uid": "LCnJdafdFm1_20180712174614",
    "status": "unpaid",
    "name": "good2",
    "amount": 2000,
    "buyer_tel": "1",
    "buyer_email": "",
    "event_id": 1,
    "event_title": "testEvent",
    "event_image_url": "",
    "event_start_date": "2018-06-08T03:00:00Z",
    "event_end_date": "2018-06-08T03:00:00Z",
    "goods_id": 2,
    "goods_title": "testGoods",
    "goods_quantity": 10,
    "goods_sold_quantity": 2,
    "user_nickname": "닉네임",
    "user_name": "밋고",
    "user_email": "contact@meetgo.kr"
}

pay_method 참고 : https://docs.iamport.kr/tech/imp#param

Last updated