카카오 페이 결제 취소 연동시
{“msg”:“can not request cancel!(status : CANCEL_PAYMENT)”,“code”:-784}
로 응답 받습니다.
어떤 내용인제 알 수 있을까요?
– 아래는 주문 정보 api 호출한 결과 입니다.
{
“tid”: “*",
“cid”: "”,
“status”: “CANCEL_PAYMENT”,
“partner_order_id”: “15026744”,
“partner_user_id”: “15026744”,
“payment_method_type”: “MONEY”,
“item_name”: “납작 아이브로우 펜슬외 5건”,
“item_code”: “0”,
“quantity”: 8,
“amount”: {
“total”: 8790,
“tax_free”: 0,
“vat”: 799,
“discount”: 0
},
“cancel_available_amount”: {
“total”: 0,
“tax_free”: 0,
“vat”: 0,
“discount”: 0
},
“canceled_amount”: {
“total”: 8790,
“tax_free”: 0,
“vat”: 799,
“discount”: 0
},
“created_at”: “2020-08-03T09:33:21”,
“approved_at”: “2020-08-03T09:33:34”,
“canceled_at”: “2020-08-03T10:44:43”,
“payment_action_details”: [
{
“aid”: “A2790708271291669563”,
“approved_at”: “2020-08-03T09:33:34”,
“amount”: 8790,
“point_amount”: 0,
“discount_amount”: 0,
“payment_action_type”: “PAYMENT”
},
{
“aid”: “A2790726653753536281”,
“payload”: “”,
“approved_at”: “2020-08-03T10:44:43”,
“amount”: 8790,
“point_amount”: 0,
“discount_amount”: 0,
“payment_action_type”: “CANCEL”
}
]
}