컴퓨터공학자
컴퓨터공학자
TPToss payments 개발자 커뮤니티
Created by 컴퓨터공학자 on 8/12/2024 in #❓┃연동개발-문의
카드 자동결제 승인 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": "테스터"}'
}
파라미터에 필수라고 적혀있는 부분은 다 입력했습니다. 문제를 알 수 있을까요?
8 replies
TPToss payments 개발자 커뮤니티
Created by 컴퓨터공학자 on 6/21/2024 in #❓┃연동개발-문의
자동결제(빌링)에 카드번호 입력 시 해당 카드사에서 발급하는 카드의 이미지를 호출 할 수 있나요?
안녕하세요. 자동결제(빌링) API를 활용해서 개발을 진행하고 있습니다. 제목의 문의와 같이 자동결제(빌링)에 카드번호 입력 시 해당 카드사에서 발급하는 카드의 이미지를 호출 할 수 있는지 여부를 알 수 있을까요?
11 replies