criptocore.Open wallet
Menu
INTEGRATIONS · EVENTS

Your system keeps track. Your integration keeps going.

Get updates on operations and deposits without relying on the dashboard screen. The CriptoCore API offers webhooks, per-operation callbacks and polling to track the financial outcome.

Go to documentation
Events
Operations and deposits
Verification
HMAC-SHA256 signature
Alternative
Polling by ID and sequence

Information checked on

Webhook, callback or polling: which should you use?

Ways to track the CriptoCore API
OptionHow it works
WebhookRegister an account endpoint for the selected events.
CallbackSend callback_url when creating a specific operation.
PollingCheck states and events periodically, with no receiving endpoint.

These options are independent and can coexist. The same event can arrive by webhook and by callback; deduplicate processing if both trigger the same flow.

Which updates are sent?

operation.created and operation.updated track operations created through the API. deposit.updated reports changes observed in the account's deposits after integrations are turned on. webhook.test lets you check delivery without moving balance.

Don't assume that every payment started on the website or Telegram generates API operation events. For account reconciliation, combine the documented operations, deposits, balance and statement resources.

How to register and test a webhook

Use a key with webhooks:write to register a public HTTPS destination with POST /webhooks. Store the returned secret; you need it to validate the signature. Check the fields and events in the webhooks documentation.

Then use POST /webhooks/{id}/test and check the deliveries at GET /deliveries. For callbacks, enter the URL in the POST /operations body and use the callback_secret provided when you created the key.

Validate the signature and process each event once

The signature arrives in X-CriptoCore-Signature. It uses HMAC-SHA256 over the timestamp, a period and the original JSON body, without re-serializing it. Check the timestamp and compare the signature in constant time, following the examples in signature verification.

After validating, persist event.id with a uniqueness constraint, queue the processing and respond with 2xx. Deliveries can repeat or arrive out of order. The delivery identifier doesn't replace the event identifier for deduplication.

Retries and recovery by polling

Connection failures or non-2xx responses trigger new attempts according to the contract. Once the cycle is exhausted, check the deliveries and resend eligible ones with POST /deliveries/{id}/retry. Exactly-once delivery is not guaranteed.

Use GET /events to consume events by sequence and save the cursor only after processing them. For an operation's current financial state, check GET /operations/{id}. Respect Retry-After and the request limits.

Frequently asked questions

Do I need a public server to use the API?

You need a public HTTPS destination to receive webhooks or callbacks. If you only use polling, your backend can query the API without exposing a receiving endpoint.

Does the test event charge or transfer money?

No. webhook.test tests delivery to the endpoint without moving balance. It doesn't simulate a financial settlement.

How do I recover updates my system missed?

Check the delivery history and the events by polling. Resend eligible deliveries or reconcile the current state using the operation and deposit IDs.

Your next integration starts here.

Explore the documentation, review the contract and make your first request.

Go to documentation