curl -H "Authorization: Basic BASE64_ENCODED_PUBLIC_KEY_AND_PRIVATE_KEY" -H "Content-Type: application/json" -X POST -d '{"payout": 10, "duration": 60, duplicate_timeframe: 3600, name: "Pay $10 after 1 minute, deduped by 1 hour.", offer_id: 10001234}' https://[your-subdomain].trackdrive.com/api/v1/offer_conversions
Param name |
Description
Validations
|
||||||
---|---|---|---|---|---|---|---|
serializer Optional Blank Value Allowed |
This endpoint supports multiple response formats. Pass
|
||||||
payout_type Optional |
How should the payout be calculated?
|
||||||
payout Optional Blank Value Allowed |
The Traffic Source will be paid this amount when
|
||||||
revenue_percentage Optional Blank Value Allowed |
Calculate the payout as a percentage of the revenue paid to the buyer when
|
||||||
duration Required |
The number of seconds after the buyer answers the call before the traffic source gets paid. 0 seconds means the call will convert for the traffic source even if a buyer doesn't answer.
|
||||||
duplicate_timeframe Required |
The period of time that must elapse before a traffic source will be paid again when transferring the same CallerID.
|
||||||
name Required |
This name that will appear in your call logs when the call converts.
|
||||||
offer_id Required |
The conversion will be added to this offer.
|
||||||
business_range_id Optional Blank Value Allowed |
The conversion will be added to these business hours. Leave this blank to automatically assign the currently open business hours.
|
||||||
record_token_filter_list Optional Blank Value Allowed |
Assign filters to the object by passing an array of key:value pairs
|
||||||
sortable_order Optional |
The order in which Traffic Source Conversions will be checked for a matching conversion. Values are sorted in ascending order; smaller values are checked first.
|