tokportal_create_webhook_endpoint
Create a webhook endpoint to receive TokPortal events and obtain a signing secret for verifying webhook signatures.
Instructions
Create a webhook endpoint. Creates a webhook endpoint and returns its signing secret once. Store the secret to verify TokPortal webhook signatures. Do not send Idempotency-Key. The successful response contains a secret and is never stored in the replay ledger. A request with the header is rejected with IDEMPOTENCY_KEY_NOT_ALLOWED_FOR_SENSITIVE_RESPONSE (400) before any ledger claim or operation execution.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | JSON request body. |