가상계좌 웹훅헤더 검증관련 질문드립니다.
https://docs.tosspayments.com/reference/using-api/webhook-events
에 나와있는거처럼
웹훅헤더에서 tosspayments-webhook-signature 관련 비교검증을 진행하려하는데,
현재 테스트에서는 웹훅에서 받은 헤더에 signature 값이 존재하질않아, 테스트에서는 해당값이 없는지 아니면 저희 서버셋팅이 잘못인건지 문의드립니다.
헤더부분 전체를 보면
"headers":{
"tosspayments-webhook-transmission-retried-count":["0"],
"tosspayments-webhook-transmission-id":["whtrans_a01k1f400ypb7erwejsvxnf5r0a"],
"content-type":["application/json"],
"cdn-loop":["cloudflare; loops=1"],
"content-length":["192"],"connection":["Keep-Alive"],
"tosspayments-webhook-transmission-time":["2025-07-31T11:11:50+09:00"],
"user-agent":["tosspayments"],
"cf-connecting-ip":["3.38.81.32"],
"x-b3-traceid":["688ad0e68f1fadee70d1d4dd2128f71b"],
"x-b3-spanid":["031c252e85b50583"],
"cf-visitor":["{"scheme":"https"}"],
"x-b3-parentspanid":["a34f6d21499a1b1e"],
"x-b3-sampled":["1"],
"x-forwarded-proto":["https"],
"accept":["/"],
"accept-encoding":["gzip, br"],
"true-client-ip":["3.38.81.32"],
"host":["테스트 도메인"],
"x-forwarded-for":["3.38.81.32"],
"cf-ray":["9679913feb283532-ICN"]
}
웹훅이 발송된 시간, 웹훅이 재전송된 횟수, 웹훅의 고유 식별자 는 존재하는데,
웹훅 서명 만 존재하질않습니다.
저희서버는 cf로 프록시되고있는데 이부분때문일수도 있는걸까요?
에 나와있는거처럼
웹훅헤더에서 tosspayments-webhook-signature 관련 비교검증을 진행하려하는데,
현재 테스트에서는 웹훅에서 받은 헤더에 signature 값이 존재하질않아, 테스트에서는 해당값이 없는지 아니면 저희 서버셋팅이 잘못인건지 문의드립니다.
헤더부분 전체를 보면
"headers":{
"tosspayments-webhook-transmission-retried-count":["0"],
"tosspayments-webhook-transmission-id":["whtrans_a01k1f400ypb7erwejsvxnf5r0a"],
"content-type":["application/json"],
"cdn-loop":["cloudflare; loops=1"],
"content-length":["192"],"connection":["Keep-Alive"],
"tosspayments-webhook-transmission-time":["2025-07-31T11:11:50+09:00"],
"user-agent":["tosspayments"],
"cf-connecting-ip":["3.38.81.32"],
"x-b3-traceid":["688ad0e68f1fadee70d1d4dd2128f71b"],
"x-b3-spanid":["031c252e85b50583"],
"cf-visitor":["{"scheme":"https"}"],
"x-b3-parentspanid":["a34f6d21499a1b1e"],
"x-b3-sampled":["1"],
"x-forwarded-proto":["https"],
"accept":["/"],
"accept-encoding":["gzip, br"],
"true-client-ip":["3.38.81.32"],
"host":["테스트 도메인"],
"x-forwarded-for":["3.38.81.32"],
"cf-ray":["9679913feb283532-ICN"]
}
웹훅이 발송된 시간, 웹훅이 재전송된 횟수, 웹훅의 고유 식별자 는 존재하는데,
웹훅 서명 만 존재하질않습니다.
저희서버는 cf로 프록시되고있는데 이부분때문일수도 있는걸까요?