결제 확인 (TossPayments)
curl --request POST \
--url https://api.headlesscommerce.io/v1/storefront/payments/confirm \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"payment_key": "<string>",
"order_id": "<string>",
"amount": 123,
"provider": "tosspayments"
}
'{
"success": true,
"order_id": "<string>"
}Storefront - 결제
결제 확인 (TossPayments)
Server-side final confirmation after client-side payment approval. Validates the payment amount and updates the order status.
POST
/
storefront
/
payments
/
confirm
결제 확인 (TossPayments)
curl --request POST \
--url https://api.headlesscommerce.io/v1/storefront/payments/confirm \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"payment_key": "<string>",
"order_id": "<string>",
"amount": 123,
"provider": "tosspayments"
}
'{
"success": true,
"order_id": "<string>"
}⌘I