CloseoutEndpointsDto Schema
The CloseoutEndpointsDto defines specific webhook endpoints for different search types. It now supports multiple webhook targets per search type, with optional custom headers, basic auth, and event filters.Fields
Complete Example
Usage Notes
- All fields are optional - specify only the search types you need
- Endpoints must be valid HTTPS URLs
- If a search type endpoint is not specified, the
fallbackEndpointfromWebhookConfigDtowill be used - When
eventsis omitted, the webhook defaults to receiving onlyverification.completed(backward compatible) - You can attach per-target headers and basic auth; HMAC signature header will still be sent (per-target secret overrides global secret)
Related Schemas
- WebhookConfigDto - Parent webhook configuration schema
- WebhookTargetDto - Single webhook target schema
Next Steps
- Create your first order using these endpoint configurations
- Learn about error handling for webhook delivery failures