Instead of processing webhooks synchronously all the way to the database, persist the payload as a technical event in the event store and process it async. Benefits: external-system audit log for debugging, much faster HTTP responses to providers, independent scaling of web servers vs. workers, and you no longer depend on the third-party retry mechanism because you can replay the stored payload whenever needed.