Webhooks
Navigation
How It Works
Using webhooks, you can receive HTTP notifications about events that have occurred in the exchanger.
Setup
To set up webhooks, go to "Application Settings" - "Webhook". You can enter a secret key that will be sent in the "X-Authorization" HTTP header.
Request Example
The key is the webhook ID, the value contains of event objects.
curl -X POST 'YOUR.HOST' \
--header 'X-Authorization: SECRET_KEY' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data-urlencode 'web_hooks={"1":[["object"],["object"]],"2":[["object"],["object"]]}'
Data Processing
# | Description |
---|---|
0 | User Status Changed |
1 | Order Status Changed |
2 | Verification Status Changed |
3 | Reserve Request Status Changed |
4 | Investment Status Changed |
5 | Banned Payment Details Status Changed |
6 | Review Status Changed |
Work Documentation
For Developers
We work without days off 10:00 - 20:00 (GMT+3)
© 2018 - 2023 Made with Exchanger CMS