---
title: "Delete an advertiser payment"
type: reference
method: DELETE
path: /rest-api/advertiser/{advertiserId}/payments/{paymentId}.do
tag: "Network Finances"
---

# Delete an advertiser payment

`DELETE 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

| Name | Type | Required | Example | Description |
|---|---|---|---|---|
| `advertiserId` | integer | yes | `1001` | Advertiser ID |
| `paymentId` | integer | yes | `80` | Payment ID, as returned by the payment list |

## 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

## Example request

```bash
curl --request DELETE \
  --url 'https://YOUR-NETWORK-DOMAIN/rest-api/advertiser/1001/payments/80.do' \
  --header 'X-Api-Key: YOUR_API_KEY'
```

Source: https://epom.com/ad-server/docs/api/network-finances/delete-advertiser-payments