---
title: "Billing Webhook Mock"
method: POST
path: "/api/billing/webhook/mock"
---

# Billing Webhook Mock

`POST /api/billing/webhook/mock`

Dev-only: manual mock-provider webhook to finalise an order.

Not enabled in prod (Phase 2 ships real WeChat / Alipay webhooks
with signature verification). For dev / e2e tests, POST
`{"order_no": "ord_..."}` to bump the order to 'paid' and trigger
`activate_subscription`. Idempotent on the order_no — a duplicate
callback is a no-op rather than a double-charge.

## Request body

- object

## Response `200`

Successful Response

- object

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/omicos/apis/omicos-server.md) · [All operations](https://skmtc.dev/omicos/apis/omicos-server/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/omicos/omicos-server/revisions/a00b94573ffe/schema)
