테스트 결제는 되는데 서비스 client_eky 붙이면 400에러로 BAD REQUEST나오는건 어떻게 해야하나요?

스 clienteky 면 400로 BAD REQUEST?
.


```js

//
const options = {
method: "POST",
url: "https://api.tosspayments.com/v1/payments/confirm",
headers: {
Authorization:
"Basic
_",
"Content-Type": "application/json",
},
data: {
paymentKey: getUrlObj.paymentKey,
amount: getUrlObj.amount,
orderId: getUrlObj.orderId,
},
};

axios
.request(options)
.then(function (response) {
console.log(response.data);
alert(".");
setValues((draft) => {
draft.result = true;
});
})
.catch(function (error) {
console.error(error);
alert(". .");
navigate(-1);
});


```
Was this page helpful?