---
title: "Send a test webhook"
method: POST
path: "/webhooks/test"
tags: ["Webhooks"]
---

# Send a test webhook

`POST /webhooks/test`

## Request

- Base URL: `https://v1.orchestrator.rhinestone.dev/deposit-processor`
- URL: `https://v1.orchestrator.rhinestone.dev/deposit-processor/webhooks/test`
- Auth: one of:
  - API key in header `x-api-key`
  - HTTP bearer
- TypeScript: <https://skmtc.dev/rhinestonewtf/apis/deposit-service-api/docs/webhooks/test/post.ts> (a function with typed inputs; its response is checked against the schema)

Sends a webhook with test data to the configured URL.

## Headers

- `x-api-key` string: API key for authentication
- `x-api-version` string: API version identifier (e.g. "2026-04.amazon"). Optional today, will become required in a future release.

## Request body

- TestWebhookRequestBody
  - `type` 'deposit-received' | 'bridge-started' | 'bridge-delayed' | 'bridge-complete' | 'bridge-failed' | 'deposit-rejected' | 'deposit-delayed' | 'deposit-refunded' | 'onramp-order' | 'ramp-order', required: Which webhook type to simulate

## Response `200`

Test webhook dispatched

- TestWebhookResponse
  - `message` string, required
  - `eventId` string, required

## Other responses

- `400`: Invalid request, unknown type, or client has no webhook URL configured
- `401`: Authentication required or the presented credential is invalid.
- `403`: API key lacks required deposits scope
- `503`: Tenant billing verification is temporarily unavailable; retry after 5 seconds.

## Changes

- **2026-11-06** `aa1767d704fa`: 5 info
  - the endpoint scheme security `internalProjectBearer` was added to the API
  - the endpoint scheme security `tenantApiKey` was added to the API
  - the `header` request parameter `x-api-key` became optional
  - added the non-success response with the status `401`
  - …1 more
- **2026-10-02** `2a4550fcca0f`: 1 breaking
  - removed the enum value `onramp-payment` of the request property `type`
- **2026-09-30** `a6fd693c3d5f`: 2 info
  - added the new `onramp-payment` enum value to the request property `type`
  - added the new `ramp-order` enum value to the request property `type`
- **2026-09-17** `676300ac19ff`: 2 info
  - added the optional property `code` to the response with the `400` status
  - added the optional property `code` to the response with the `403` status
- **2026-09-04** `54262a43c6a8`: 1 breaking
  - removed the enum value `error` of the request property `type`

[Operation history](https://skmtc.dev/rhinestonewtf/apis/deposit-service-api/changes/webhooks/test/post.md)

---

[API](https://skmtc.dev/rhinestonewtf/apis/deposit-service-api.md) - [All operations](https://skmtc.dev/rhinestonewtf/apis/deposit-service-api/llms.txt) - [OpenAPI document](https://skmtc.dev/rhinestonewtf/apis/deposit-service-api/revisions/aa1767d704fa?raw)
