웹훅 응답 객체 관련 문의

. .
늘 AWS ECS Log.
, 2023-01-09T09:46:43.234+09:00 .
org.springframework.web.server.ServerWebInputException: 400 BAD_REQUEST "Failed to read HTTP message"; nested exception is org.springframework.core.codec.DecodingException: JSON decoding error
JSON decoding error: Instantiation of [...Payment] value failed for JSON property method due to missing (therefore NULL) value for creator parameter method which is a non-nullable type
...
TossWebhookPayload["data"]-> ... Payment["method"]
...
error: 400 BAD_REQUEST "P1:사용가능한 포인트가 부족합니다"
...


- - , PAYMENT_STATUS_CHANGE .
Payment method field 는 non-nullable type .
method string
결제할 때 사용한 결제 수단입니다. 카드, 가상계좌, 간편결제, 휴대폰, 계좌이체, 상품권(문화상품권, 도서문화상품권, 게임문화상품권) 중 하나입니다.


PAYMENT_STATUS_CHANGE Payment method field 가 nullable .
Was this page helpful?