Delete an advertiser payment
Removes a payment of the advertiser, as the Remove payment button of Network Finances → Advertisers Funds does: every advertiser balance record from the payment's month to the current one is adjusted back by its amount.
https://YOUR-NETWORK-DOMAIN/rest-api/advertiser/{advertiserId}/payments/{paymentId}.do Removes a payment of the advertiser, as the Remove payment button of Network Finances → Advertisers Funds does: every advertiser balance record from the payment's month to the current one is adjusted back by its amount. Payments cannot be edited in the console; delete and add again to correct one. Requires the NETWORK_BILLING_MANAGEMENT and ADVERTISERS_FUNDS permissions; without campaign VIEW at ALL level the advertiser must be shared with the caller.
Path Params
advertiserId integer required
Advertiser ID
1001 paymentId integer required
Payment ID, as returned by the payment list
80 Responses
200
Payment removed: {success, advertiserId, paymentId}
400
Bad request — invalid or missing parameters
401
Authentication error
403
The caller lacks one of the required permissions
404
No such advertiser or payment, the payment belongs to another advertiser, or the advertiser is not shared with the caller