> ## Documentation Index
> Fetch the complete documentation index at: https://docs.paywithsoap.com/llms.txt
> Use this file to discover all available pages before exploring further.

# checkout.review.approved

> Event triggered when a customer support agent approves a review.

> [!WARNING]
>
> `checkout.review.approved` is off by default. It will not be delivered until you enable it in Dashboard → Developers. See [Receiving Webhooks](https://docs.paywithsoap.com/api-reference/api-v1/webhooks/setup.md) for instructions.

## Payload Structure

```typescript theme={null}
interface WebhookEvent {
  event_id: string;
  data: {
    id: string; // id of the checkout
    type: "deposit" | "withdrawal";
    review: {
      id: string; // review ID, format cpilr_...
      status: "approved";
      decline_reason: null;
      reviewed_at: string; // ISO 8601
      created_at: string; // ISO 8601
      amount_cents: number;
    };
    customer: {
      id: string;
    };
    subscription: {
      id: string;
      interval: "day" | "week" | "month" | "year";
      interval_count: number;
      line_items: Array<{
        product_id: string;
        sku: string | null; // null when the product was created without a sku
        product_name: string;
        product_url: string | null;
        quantity: number;
        price_cents: number;
        total_amount_cents: number;
      }>;
      line_items_total_amount_cents: number | null;
    } | null; // null for non-subscription checkouts
  };
  type: "checkout.review.approved";
}
```

## Example Payload

```json theme={null}
{
  "event_id": "ev_Gv7KrD7xg2Puy7AaZ1mSLTKxTURTjPaM",
  "data": {
    "id": "chk_KpjVV7XSXqxsW7Wg17oFmqsWQy482bhb",
    "type": "withdrawal",
    "review": {
      "id": "cpilr_TfnBjgUPXvCG6KmuwxuMcRPmTFGkXm1L",
      "status": "approved",
      "decline_reason": null,
      "reviewed_at": "2026-04-08T15:00:00Z",
      "created_at": "2026-04-08T14:30:00Z",
      "amount_cents": 5000
    },
    "customer": {
      "id": "cus_Mhv5fucQqcFPhn7P8dC7GnyuMZ2R63ry"
    },
    "subscription": null
  },
  "type": "checkout.review.approved"
}
```

## How Reviews Fit the Checkout

Review is disabled by default and enabled per account, and the criteria that route a payment to review are configured per account. Today every `checkout.review.*` event carries `"type": "withdrawal"`.

**A review is created before the reviewed attempt's charge exists.** Soap pauses the checkout instead of submitting the payment, so:

* No charge exists for the attempt under review, and you will receive no charge-based webhook for that attempt until the review is resolved. A checkout can be reviewed more than once if an approved attempt later fails and the customer tries again.
* On approval, Soap creates the charge and places the hold at that point — `checkout.hold` arrives then, followed by the normal withdrawal events.
* On decline, no charge is created for that attempt, so neither `checkout.failed` nor `checkout.release_hold` can fire. Reconciling only on those events will make declined withdrawals invisible to you.

Reviews are resolved by a person in the Soap dashboard. There is no timeout, no auto-approve and no auto-decline. See [Checkouts, Charges and Reviews](https://docs.paywithsoap.com/api-reference/lifecycles.md) for how the entities relate.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.