Payment Q&A
PaymentCan I use the Get webhook event history API to confirm purchase completion instead of handling the webhook directly?
We don't recommend it. Always determine purchase completion from the webhook event — the Get webhook event history endpoint is meant for recovery when webhook events fail to arrive, not as the primary source.Keep two things in mind: the same event can arrive more than once, so deduplicate by orderId; and the webhook must return a 2xx status on success, otherwise the LINE Platform treats it as failed and retries within 30 minutes. A webhook that only returns 200 without storing the event gives up this redelivery safety net.To keep the server light, we recommend storing the event on receipt (return 200 with no processing) and granting items from a separate scheduled function.
관련 문서 : Unifi Apps LINE MINI IAP →