카카오페이 결제취소 API 문의

안녕하세요 카카오페이 결제취소 API 테스트 중에 발생한 오류로 문의드립니다.

tid 번호 : T61f9b3a65886da9da49

위 tid 번호에 해당하는 결제금액과 결제취소요청금액이 총금액2200, 비과세금액 0원으로 모두 동일한데
어째서 취소가능한 금액보다 요청한 금액이 크다는 걸까요?
제가 놓친 부분이 있는지 확인해주시면 감사하겠습니다.

아래 오류 내용 첨부합니다.

Wed Apr 17 18:51:55 KST 2024

There was an unexpected error (type=Internal Server Error, status=500).

400 Bad Request: “{“extras”:null,“error_message”:“requested cancel amount is bigger than cancelable amount”,“error_code”:-710}”

org.springframework.web.client.HttpClientErrorException$BadRequest: 400 Bad Request: “{“extras”:null,“error_message”:“requested cancel amount is bigger than cancelable amount”,“error_code”:-710}”

안녕하세요. 카카오페이입니다.
문의주신 T61f9b3a65886da9da49 를 확인해보니 금액 흐름이 아래와 같았습니다.

ready request : total_amount 2200 , tax_free_amount 0
approve response : total 2200 , tax_free 0, vat 200, point 0, discount 0

1차 cancel request : cancel_amount 2200 , cancel_tax_free 0
cancel response : {“status”:“CANCEL_PAYMENT”,“payment_method_type”:“MONEY”,“created_at”:“2024-04-17T18:49:47+09:00”,“cancel_available_amount”:{“vat”:0,“point”:0,“discount”:0,“green_deposit”:0,“total”:0,“tax_free”:0},“cid”:“TC0ONETIME”,“partner_order_id”:“1234567890”,“aid”:“A61f9bb765886da9da4b”,“approved_cancel_amount”:{“discount”:0,“green_deposit”:0,“total”:2200,“tax_free”:0,“vat”:200,“point”:0},“canceled_at”:“2024-04-17T18:51:51+09:00”,“tid”:“T61f9b3a65886da9da49”,“quantity”:1,“amount”:{“vat”:200,“point”:0,“discount”:0,“green_deposit”:0,“total”:2200,“tax_free”:0},“partner_user_id”:“roommake”,“canceled_amount”:{“tax_free”:0,“vat”:200,“point”:0,“discount”:0,“green_deposit”:0,“total”:2200},“item_name”:“테스트으으으”,“approved_at”:“2024-04-17T18:50:07+09:00”}

2차 cancel request : cancel_amount 2200 , cancel_tax_free 0
3차 cancel request : cancel_amount 2000 , cancel_tax_free 0

1차에서 이미 전체취소가 완료된 상태에서 2차 취소가 유입되어 거절된것으로 보여집니다.

1차와 2차의 유입시간이 4초정도 차이가 발생하는데 1차에서 전체취소처리를 못한게 아닌지 체크 부탁드립니다.

감사합니다.