How do webhooks work?
Designed for developers, custom webhooks allow your application or web server to be notified in real time when an event occurs (payment, subscription, expiration, etc.).
Instead of constantly polling the API, you automatically receive an HTTP POST request containing a JSON payload describing the event.
With webhooks, you can for example:
Automatically grant items/roles after a successful payment
Remove access when a subscription expires
Send a message on a Discord server
Trigger your own custom business logic
How it works
You set up an HTTP endpoint (URL) in your application.
When an event occurs, our system sends a payload to this URL.
Your server must respond with a 2xx HTTP code to confirm receipt.
You process the data as needed (database, integrations, logs, etc.).
Example events
payment.success
→ A payment was successfully completedpayment.failed
→ A payment attempt failedpayment.refund
→ A payment was refundedsubscription.created
→ A new subscription was createdsubscription.renewed
→ A subscription was renewedsubscription.expired
→ A subscription expired
Last updated