const headers = {
Authorization: `Bearer ${this.tossPaymentsSecretKey}`,
};
const response = await fetch('https://api.tosspayments.com/v2/balances', {
method: 'GET',
headers: headers,
});
const data = await response.json();
console.log(data);
const headers = {
Authorization: `Bearer ${this.tossPaymentsSecretKey}`,
};
const response = await fetch('https://api.tosspayments.com/v2/balances', {
method: 'GET',
headers: headers,
});
const data = await response.json();
console.log(data);