---
# @generated by sylphx-gen. Do not edit.
title: "Dismiss a processor event"
description: "`money.processor_events.dismiss` (POST /v1/{name}:dismiss): Dismisses only a held test-mode payout observation, retaining the row and audit."
type: reference
product: payments
summary: "Dismisses only a held test-mode payout observation, retaining the row and audit."
updated: 2026-09-28
nav: false
---

Dismisses only a held test-mode payout observation, retaining the row and audit. Live, unknown-mode and payment events are refused.

- **Path** `POST https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/processor_events/processor-event:dismiss`
- **Scope** `billing:processor_events:write`
- **Effect** `write` — a successful call changes state.
- **Collection** [processor_events](/docs/api/processor_events)

## Request

| Field | Type | What it is |
| --- | --- | --- |
| `name` | `string` | Event resource name. Required. |
| `etag` | `string` | The event's current meta.etag. Required. |
| `reason` | `string` | Must be `test_processor_observation`. Required. |

## Response

| Field | Type | What it is |
| --- | --- | --- |
| `name` | `string` | Name; the final segment is Stripe's event id. |
| `uid` | `string` | Stable, server-derived id. Output only. |
| `meta` | `ResourceMeta` | Metadata; meta.etag is required on recovery calls. Output only. |
| `account_id` | `string` | Stripe account id, never the customer's identity. Output only. |
| `event_type` | `string` | Stripe event type. Output only. |
| `object_id` | `string` | Stripe object id (not a payload). Output only. |
| `state` | `string` | `pending`, `held`, `applied` or `dismissed`. Output only. |
| `hold_reason` | `string` | `processor_permission_denied`, `attempts_exhausted`, or empty. Output only. |
| `attempts` | `int32` | Number of failed application attempts. Output only. |
| `livemode` | `bool` | Whether the owning merchant is live. Read only when mode_known is true. Output only. |
| `mode_known` | `bool` | False when the owning merchant cannot be resolved; never assumes test. Output only. |
| `last_recovery` | `ProcessorEventRecovery` | Last audited recovery decision, if any. Full history is retained. Output only. |

### ResourceMeta

| Field | Type | What it is |
| --- | --- | --- |
| `generation` | `int64` | Increases by one on every change to `spec`. Output only. |
| `etag` | `string` | Strong ETag (AIP-154): changes on any change to spec, status, or metadata. Send it back as `If-Match` or `etag` to make Update and Delete conditional; a mismatch fails with ABORTED / 409 `ETAG_MISMATCH`. Output only. |
| `create_time` | `timestamp` | When the Resource was created. Output only. |
| `update_time` | `timestamp` | When the Resource last changed. Output only. |
| `delete_time` | `timestamp` | Set while the Resource is being deleted. Output only. |
| `labels` | `map<string, string>` | Caller-writable, indexed labels (AIP-122 label rules). |
| `annotations` | `map<string, string>` | Caller-writable, unindexed annotations. |
| `display_name` | `string` | Caller-writable human-readable name. |
| `creator` | `string` | The principal that created the Resource. Output only. |

### ProcessorEventRecovery

| Field | Type | What it is |
| --- | --- | --- |
| `receipt_id` | `string` | Stable receipt identity, scoped to this event and revision. Output only. |
| `action` | `string` | `retry` or `dismiss`. Output only. |
| `reason` | `string` | `operator_retry`, `permissions_restored`, or `test_processor_observation`. Output only. |
| `principal` | `string` | The verified caller's principal, never supplied by the caller. Output only. |
| `create_time` | `timestamp` | Commit's decision time. Output only. |

## Errors

- [`UNAUTHENTICATED`](/docs/api/errors/UNAUTHENTICATED) — No valid key or token was presented.
- [`PERMISSION_DENIED`](/docs/api/errors/PERMISSION_DENIED) — The key lacks the method's permission.
- [`RESOURCE_NOT_FOUND`](/docs/api/errors/RESOURCE_NOT_FOUND) — The named Resource does not exist or is not visible.
- [`INVALID_FIELD`](/docs/api/errors/INVALID_FIELD) — A field failed validation.
- [`INVALID_STATE`](/docs/api/errors/INVALID_STATE) — The Resource is in a state that forbids the call.
- [`ETAG_MISMATCH`](/docs/api/errors/ETAG_MISMATCH) — The etag sent does not match the Resource's current etag.
- [`IDEMPOTENCY_KEY_REUSED`](/docs/api/errors/IDEMPOTENCY_KEY_REUSED) — An Idempotency-Key was reused with another body.

Every error arrives in the body [Errors](/docs/platform/errors) describes.

## Examples

**cURL**

```curl
curl -X POST "https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/processor_events/processor-event:dismiss" \
  -H "Authorization: Bearer $SYLPHX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"etag":"…","reason":"…"}'
```

**TypeScript**

```ts
const response = await sylphx.money.processorEvents.dismiss({ etag: '…', name: 'orgs/acme/projects/shop/envs/production/processor_events/processor-event', reason: '…' })
```

**Rust**

```rust
let mut req = sylphx::money::DismissProcessorEventRequest::default();
req.etag = "…".to_string();
req.name = "orgs/acme/projects/shop/envs/production/processor_events/processor-event".to_string();
req.reason = "…".to_string();
let response = sx.money().processor_events().dismiss(req).await?;
```

**CLI**

```bash
sylphx money processor-events dismiss orgs/acme/projects/shop/envs/production/processor_events/processor-event
```

**MCP**

```json
{ "method_id": "money.processor_events.dismiss", "args": {"etag":"…","name":"orgs/acme/projects/shop/envs/production/processor_events/processor-event","reason":"…"} }
```
