Toss payments 개발자 커뮤니티Tp개커Toss payments 개발자 커뮤니티
Powered by
컴퓨터공학자컴
Toss payments 개발자 커뮤니티•2y ago•
6 replies
컴퓨터공학자

카드 자동결제 승인 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": "테스터"}'
      }
    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": "테스터"}'
      }

파라미터에 필수라고 적혀있는 부분은 다 입력했습니다.

문제를 알 수 있을까요?
Toss payments 개발자 커뮤니티 banner
Toss payments 개발자 커뮤니티Join
Toss payments 개발자 커뮤니티입니다. 결제 연동하며 겪는 기술 문의부터, 결제 시장에 대한 다양한 정보까지 얻어가세요~
15,588Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

[문의] 카드 자동결제 승인 API Response 문의
SehyeonSSehyeon / ❓┃연동개발-문의
2y ago
카드 자동결제 승인 API
manxeroMmanxero / ❓┃연동개발-문의
3y ago
카드 자동결제 승인 응답 값 관련 문의
TheoTTheo / ❓┃연동개발-문의
3y ago
카드 자동결제 승인 테스트 에러
saasjangSsaasjang / ❓┃연동개발-문의
3y ago