Authorization": "Basic dGVzdF9za196WExrS0V5cE5BcldtbzUwblgzbG1lYXhZRzVSICsgOg=="
body1 = { "paymentKey": paymentKey, "orderId": orderId, "amount": amount } headers1 = { "Authorization": "Basic dGVzdF9za196WExrS0V5cE5BcldtbzUwblgzbG1lYXhZRzVSICsgOg==", "Content-Type": "application/json" } res1 = requests.post("https://api.tosspayments.com/v1/payments/confirm", data=body1, headers=headers1)