# Remove A Bill Payment

> Solarium docs, Transactions. All requests are `POST https://api.trysolarium.com/graphql/` with `Authorization: Bearer <api key>` and a JSON body `{"query": ..., "variables": ...}`. Every query and mutation takes an `organizationId` (find it with `myOrganizations`). Index of all pages: https://trysolarium.com/llms.txt

Undo a payment recorded with record_bill_payment: what it paid is owed on each bill again. A payment from a bank-feed withdrawal puts the withdrawal back in review as it was. One recorded by hand has its entry voided. In QuickBooks its Bill Payment is deleted and each bill's balance is read back. Refused in a closed period.

### Arguments

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `params.payment_id` | `String!` | Yes | record_bill_payment's payment_id, or the payment's event id |
| `apply` | `Boolean` | No | true to remove it |

### Request

```graphql
mutation {
  runOp(organizationId: "a1b2c3d4-...", name: "remove_bill_payment", apply: true, params: { payment_id: "7d21..." }) { success result }
}
```

### Response

```json
{
  "data": { "runOp": { "success": true, "result": { "summary": "Payment Of CAD 400.21 From Jul 15 Removed. The Bank Line Is Back In Review." } } }
}
```
