Offerit allows you to post sale approval or denial details to a custom script/URL of your choice. To enable this type of post you can visit the Offers Admin and edit a landing page for an offer. On this page, you will need to scroll down and use the "+" icon on the right side of the "Approval/Denial" green section header:
Approval Post Details
You can configure your script to log the posts from offerit to get a more exact example for your system, however here is an example from one of our development installs:
- sale and payout amounts are in cents
- time details are unix time stamps
[memberid] => 75
[identid] => 524
[loginid] => 1
[networkid] => 0
[refurl_lookup_id] => 2
[status] => 1
[trial] => 0
[joined] => 1498143480
[expired] => 0
[last_login] => 0
[stamp] => 1498143480
[offerid] => 8
[username] => test20170621a1
[password] => uz2vmw12kq
[cryptpass] => efgLswOjOV.1.
[ip] => 1264826090
[session] => 56e67acbcde3281b1531098273b14fd4
[mailok] => 0
[flat_price] => 0
[first_login] => 0
[third_party_partner_id] => 0
[cascadeid] => 0
[cascade_item_id] => 0
[token] => 0
[original_username] => test20170621a1
[renamed] => 0
[marked] => 0
[token_hash] => cbcc67cd8172d9c311c6b244e5b72862
[member_subscription_id] => 75
[memberidx] => 9d82477cd2663326675c9a666d2415a6
[billerid] => 0
[statid] => 2594bdaf825f13
[cost] => 0
[cost_charge] => 0
[spent] => 1500
[refunded] => 0
[charges] => 1
[next_rebill] => 0
[optionid] => 0
[rebills] => 0
[active] => 1
[expires] => 0
[offerit_expires] => 0
[biller_expires] => 0
[original_optionid] => 0
[created_date] => 1498143480
[loginid_assigned] => 0
[identid_assigned] => 0
[hostnpost] => 0
[temp_transaction_id] => 14981433105774115169
[click_time] => 1498143310
[member_identid] => 524
[member_loginid] => 1
[xsell_success] => 0
[last_modified] => 0
[duration] => 0
[transaction] => Array
(
[transaction_id] => 14981433105774115169
[biller_time] => 0
[server_time] => 1498143480
[biller_transid] => OFFERIT:14981433105774115169
[amount] => 1500
[biller_amount] => 1500
[biller_currency] => USD
[exchange_rate] => 1
[trans_type_id] => 1
[charges] => 0
[charge_deduct] =>
[process_type] =>
[total_transaction_payout] => 15
)
[post_time] => 1498143480
[post_type] => approvalpost