AXAffilinext Help Center

S2S postback endpoint

Reference for the /postback URL advertisers call to report conversions.

Advertisers that can't use an API key report conversions by calling the postback URL from their server. It does the same thing as POST /api/v1/conversions, authenticated by a token in the URL instead.

GET https://app.affilinext.com/postback?click_id={click_id}&txid={order_id}&status=approved&revenue={amount}&token=YOUR_TOKEN

POST with the same fields as a form or JSON body also works. If your network uses a branded postback domain, use that instead.

Parameters

ParameterAlso accepted asDescription
click_idclickid, cidThe click ID from the offer URL. Required unless coupon is sent.
txidtransaction_id, conversion_idYour unique order or event ID
statusapproved (default), pending or rejected
revenuesale_amountSale amount
payoutsumOnly used if the campaign accepts advertiser-supplied payouts
currencye.g. USD
goaleventEvent name for multi-goal campaigns
couponcoupon_code, promo_codeAttribute by coupon instead of click ID
tokenYour advertiser postback token, or the network's global token
secretThe campaign's postback secret — an alternative to token
advertiser_idOptional. If sent, it must match the click's advertiser.

A parameter left as an unfilled macro — a literal {revenue} — is ignored rather than read as zero.

Responses

CodeMeaning
201Conversion recorded
200Already recorded: "status": "duplicate" (no change) or "updated" (new status or amount)
400No click ID or coupon
401Missing or wrong token / secret
403advertiser_id doesn't match the click
404Unknown click ID or coupon
422The click was rejected by fraud checks

Every call is logged with its response, so you can debug it from Postback Logs in the app.

For a step-by-step setup guide, see Send conversions with an S2S postback.