Configure a webhook or Cloud Code module for purchase fulfillment
Configure your entitlement delivery options in the Unity Dashboard to define how you grant purchases to your players.
Read time 1 minuteLast updated 6 hours ago
Unity IAP manages entitlements for off-platform payment providers, similar to how Apple and Google handle entitlements for their stores. If you need to sync purchases with your backend or use server-authoritative entitlements, you can optionally configure a webhook or Cloud Code module to receive purchase events.
Configure a webhook
To configure a webhook in the Unity Dashboard:- Select Payment Providers > Entitlement Delivery Method.
- Select the Your own server webhooks option and enter your webhook URL.
- Select Save Configuration.
Configure a Cloud Code module
Configure your project to receive purchase information from your Cloud Code module in the Unity Dashboard:- In the Unity Dashboard, select IAP > Payment Providers.
- Under Entitlement Delivery Method, select Edit.
- Select the Cloud Code module option and then select your module and endpoint from the dropdowns.
- Select Save Configuration.