---
title: "Start a sandbox order processing (test mode only)"
method: POST
path: "/sandbox/stamp-orders/{id}/simulate-accept"
tags: ["Sandbox"]
---

# Start a sandbox order processing (test mode only)

`POST /sandbox/stamp-orders/{id}/simulate-accept`

## Request

- Base URL: `https://esahayak.io/api/v1`
- URL: `https://esahayak.io/api/v1/sandbox/stamp-orders/{id}/simulate-accept`
- Auth: HTTP bearer

Originates the `order.processing_started` webhook (once) plus one `stamp.processing_started` webhook per still-pending stamp — exactly as a live partner-batch acceptance would, with payloads identical to production. Use it to exercise your processing_started handlers without waiting for real fulfilment. Idempotent (re-running never double-delivers) and order-safe (already verified/cancelled stamps are skipped). The stamp's polled status is unchanged — the transition is delivered purely as webhooks. Requires an `sk_test_` key — returns 403 on a live key.

## Path parameters

- `id` string, uuid, required

## Response `200`

Processing started; webhooks emitted.

- object
  - `id` string, uuid, required: The bulk order id.
  - `simulated` boolean, required
  - `stampsStarted` integer, required: Number of stamp.processing_started events emitted.

## Other responses

- `403`: Not allowed (e.g. creating a key from a sandbox key)
- `404`: Not found (workspace + is_test scoped)
- `409`: State conflict — the resource can't make the requested transition (e.g. already terminal, or nothing left to simulate)

---

[API](https://skmtc.dev/esahayak/apis/esahayak-stamp-api.md) - [All operations](https://skmtc.dev/esahayak/apis/esahayak-stamp-api/llms.txt) - [OpenAPI document](https://skmtc.dev/esahayak/apis/esahayak-stamp-api/revisions/cca124862a3e?raw)
