Webhook

You might say

How do I unlock membership automatically after a successful payment?

A mechanism where the other party proactively notifies an address you configured when something happensAfter an event such as a payment, a platform can attempt to deliver an HTTP request to your configured endpoint. Delivery may be delayed, fail, be retried, duplicate, or arrive out of order. Verify the source, deduplicate events, and read back the business record; polling can provide a reconciliation fallback.
Know first
Webhook
Further reading