API v2//
- Rotate an endpoint's signing secret
List webhook endpoints
Register a webhook endpoint
Retrieve a webhook endpoint
Update a webhook endpoint
Delete a webhook endpoint
List event types
List webhook events
Retrieve a webhook event
Replay a webhook event
Payment events
Refund processed
Chargeback events
Card tokenization events
Subscription events
Customer events
Invoice events
Dime Bridge events
Bank transfer events
Bank account events
Rotate an endpoint's sign...
Replaces the signing secret and returns the new one, shown only this once. Deliveries sent after this call are signed with the new secret straight away, so update your verifier first, or accept both secrets for a short period.
Security
ClientKey and SecretKey
- Mock serverhttps://docs.dimepay.net/_mock/apis/v2/dime-v2/webhook-endpoints/{token}/rotate-secret
- Sandbox. A separate environment with its own data; no real money
moves. Use a client key created in sandbox.
https://sandbox.api.dimepay.app/dapi/v2/webhook-endpoints/{token}/rotate-secret
- Production. Real payments. Use a client key created in production.
https://api.dimepay.app/dapi/v2/webhook-endpoints/{token}/rotate-secret
curl -i -X POST \
https://docs.dimepay.net/_mock/apis/v2/dime-v2/webhook-endpoints/hep_kBXRfasu_Ard5VWhe_xECb9iAV_IyX1JdD/rotate-secret \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'X-Dime-Client: YOUR_API_KEY_HERE'The endpoint, with its new signing secret.
Identifies the endpoint. Used in URLs, and as endpoint_id on an event's deliveries.
Example:"hep_kBXRfasu_Ard5VWhe_xECb9iAV_IyX1JdD"
Event types this endpoint receives. null means every event.
Example:null
Response
{ "token": "hep_kBXRfasu_Ard5VWhe_xECb9iAV_IyX1JdD", "object": "webhook_endpoint", "url": "https://example.com/webhooks/dime", "description": "Production order events", "is_active": true, "enabled_events": null, "created_at": "2026-10-28T14:02:11.000Z", "signing_secret": "whsec_9kQ2pjmnNMXqG0Ewxdo1aB3cD5eF7gH9iJ1kL3mN" }