Postbacks
Affise postbacks are sent through mid.com/konnektive/success.php and konnektive callback on tellermail.com/konnektive/callback.php.
The actual code that sends the postback is in mid.com/classes/NewPostback.php.
Postback URL
The system sends a postback to this URL with no authorization:
https://offers-uniads.affise.com/postback?clickid={transaction.custom2}&sum={transaction.totalAmount}&action_id={transaction.merchantTxnId ?? transaction.id}&goal=1&status=1
Decomposing the GET parameters as json-ish markup:
{
"clickid": transaction.custom2,
"sum": transaction.totalAmount,
"action_id": transaction.merchantTxnId ?? transaction.id,
"goal": 1,
"status": 1
}
You can see from this that there are only 2 constants, and all the others are pulled from the transaction.
I should also clarify that while the JSON structure above shows some typing, all of those are actually strings.