카드 자동결제 승인 API 오류 문의
안녕하세요.
카드 자동결제 승인을 개발하는 도중에 '필수파리미터가 누락되었습니다.' 라는 오류를 받고 있습니다.
파라미터에 필수라고 적혀있는 부분은 다 입력했습니다.
문제를 알 수 있을까요?
카드 자동결제 승인을 개발하는 도중에 '필수파리미터가 누락되었습니다.' 라는 오류를 받고 있습니다.
파라미터에 필수라고 적혀있는 부분은 다 입력했습니다.
문제를 알 수 있을까요?
const confirm_url = 'https://api.tosspayments.com/v1/billing/' + result.billingKey;
console.log(confirm_url);
const options = {
method: "POST",
headers: {
Authorization: encryptedApiSecretKey,
"Content-Type": "application/json",
},
body: '{"customerKey": customerKey, "amount": 100000, "orderId": "SJ123123123", "orderName": "구독 1개월", "customerName": "테스터"}'
}