> 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>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.mychips.io/reward-handling/iap-s2s-webhook-postback.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
