Create a payout adjusting of the affiliate

HTTP method Endpoint
POST /v1/affiliates/{affiliate_id}/payout_adjusting

Note: with this setting, the payout of all offers under this affiliate will follow this rule. (Except the offers with custom affliate payout and VBT settings)

Path parameters

Parameter Description
affiliate_id The unique id for the affiliate.

Request body parameters

Field Type Description Nullable
adjusting_type integer 1=Increase Rate
2=Decrease Rate
No
percent integer adjusting_type=1,Allowed values:1-1000
adjusting_type=2,Allowed values:1-100
No

Response body parameters

Field Type Description
id integer Affiliate payout id.
aff_id integer Affiliaite id
adjusting_type integer adjusting type
percent integer Percent
create_time string Create time.
update_time string update_time.

Example request

Request POST https://{networkname}.api.offerslook.com/v1/affiliates/5599/payout_adjusting


Request POST http://{networkname}.api.offerslook.com/v1/affiliates/5599/payout_adjusting


{
    "adjusting_type":"1",
    "percent":11

}

Example response

{
    "code": 0,
    "message": "Success",
    "data": {
        "affiliate_payout_adjusting": {
            "id": 4,
            "aff_id": 5599,
            "adjusting_type": 1,
            "percent": 11,
            "create_time": 1562153209,
            "update_time": 1562153209
        }
    }
}

results matching ""

    No results matching ""