Stack: NodeJS, Express.
First, you need to specify the URL generated by the bot in the Postback URL settings in your CPA network with the necessary URL parameters.
For example, for the 7leads network, the link may look like this:
https://postback.top/123456789?id={id}&status={status}&price={price}&price_currency={price_currency}&utm_source={utm_source}&utm_medium={utm_medium}
Where 123456789 is your Telegram ID, which is necessary for the bot to work correctly, and all other parameters are taken from the affiliate network settings.
URL postback works with both GET and POST requests and is suitable for any CPA network. You can specify any number of parameters, and all parameters will be displayed in the message sent by the bot.
URL
Server URL
PORT
Server port
TOKEN
Telegram Bot API token\
npm install
npm run dev