☰
Login
Signup
Home
›
General
Howdy, Stranger!
It looks like you're new here. If you want to get involved, click one of these buttons!
Sign In
Register
Categories
Recent Discussions
Activity
Categories
13.9K
All Categories
0
Incidents
156
Node JS client
40
Go client
793
.Net API client
380
Kite Publisher
537
.Net / VBA / Excel (3rd party)
457
Algorithms and Strategies
998
Java client
1.1K
API clients
404
PHP client
4K
Python client
347
Mobile and Desktop apps
1.4K
Market data (WebSockets)
3.3K
General
In this Discussion
February 2022
sujith
February 2022
rakeshr
Order Postback (WebHook) not working
Rithik
February 2022
in
General
We have set a postback url in our app dashboard and given below is a curl request of what we implemented.
curl -X POST "
https://xxx/Trading/Zerodha/WebPostback
"
-H "Content-Type: application/json"
-H "Accept:*/*"
-d "{
"user_id":"RT0483",
"app_id":1234,
"checksum":"7436a06a039381bdc67e78fe9d7653f52edda422959b0be2be35d0379663f89a",
"placed_by":"AB0012",
"order_id":"210709003691276",
"exchange_order_id":"1300000015536862",
"parent_order_id":null,
"status":"UPDATE",
"status_message":null,
"status_message_raw":null,
"order_timestamp":"2021-07-09 15:00:57",
"exchange_update_timestamp":"2021-07-09 15:00:57",
"exchange_timestamp":"2021-07-09 15:00:57",
"variety":"regular",
"exchange":"NSE",
"tradingsymbol":"SBIN",
"instrument_token":779521,
"order_type":"LIMIT",
"transaction_type":"BUY",
"validity":"DAY",
"product":"MIS",
"quantity":1,
"disclosed_quantity":0,
"price":420,
"trigger_price":0,
"average_price":0,
"filled_quantity":0,
"pending_quantity":1,
"cancelled_quantity":0,
"market_protection":0,
"meta":{},
"tag":null,
"guid":"7831XMQ"
}"
Please let us know when is the postback url called for a order lifecycle, and guide me if we are doing something wrong.
@sujith
Tagged:
WebSocket
Postback URL
webhooks
rakeshr
February 2022
Go through all
postback FAQs here
.
sujith
February 2022
@Rithik
,
You will receive a postback when there is a partial fill or order modification. You can use that as an event to fetch orderbook and check the latest details about the order.
Sign In
or
Register
to comment.
You will receive a postback when there is a partial fill or order modification. You can use that as an event to fetch orderbook and check the latest details about the order.