> For the complete documentation index, see [llms.txt](https://docs.mychips.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.mychips.io/reward-handling/iap-s2s-webhook-postback.md).

# IAP S2S Webhook Postback

### What is the IAP S2S Webhook Postback?

The In-App Purchase (IAP) Server-to-Server (S2S) Webhook Postback is a notification sent to your server endpoint whenever an in-app purchase event completes. The IAP postback may be sent in addition to a general conversion callback; you can choose to reward those events separately or treat them as higher-value completions.

***

**Standard Parameters**

You can use the standard parameters listed on your [Dashboard’s Settings page.](http://dashboard.maf.ad/Account/Login)

\
**IAP-Specific Parameters**

| Placeholder              | Description                                        |
| ------------------------ | -------------------------------------------------- |
| {event\_value}           | Purchase amount                                    |
| {event\_value\_usd}      | Normalized USD amount (string, two decimal places) |
| {event\_value\_currency} | ISO currency code (normalized, e.g., USD)          |

***

### Example  IAP Postback

An example of an  IAP Postback URL looks like this:

```
https://yourdomain.org/postback?clickid={click_id}&event_name={event_name}&aff_sub1={aff_sub1}&aff_sub2={aff_sub2}&conversion_country={conversion_country}&user_id={user_id}&event_value={event_value}&event_value_currency={event_value_currency}&event_value_usd={event_value_usd}&conversion_time={unix_timestamp}
```

### How to Set Up a IAP S2S Webhook Postback

To set up a IAP S2S Webhook Postback URL in our platform, go to the Settings page and navigate to the *Additional Postback (optional)* section located at the bottom left.

Select the option "*Revenue"* , enter the full IAP S2S Webhook Postback URL in the input field, and then click the button "*Add+".*

<figure><img src="/files/9f2Xrrlw4tQrl5fcJ92v" alt=""><figcaption></figcaption></figure>
