Server-side payment confirmation after client-side TossPayments SDK approval.
Flow:
POST /storefront/carts/{id}/checkout with payment_method: 'tosspayments'toss_payment response to initialize the TossPayments client SDKpaymentKeypayment_key, order_id, and amount to finalizeThis endpoint validates the amount, calls the TossPayments Confirm API, and updates the order status to paid.
API Key. Example: sk_live_xxxxx or pk_live_xxxxx