Summary
The trade webhook delivery payload must contain an event_type field set to either buy or sell matching the trade that triggered it. An integration test should confirm the field is populated correctly for both event types.
Scope
- Register a webhook for both buy and sell events
- Simulate a buy trade and assert the delivered payload contains
event_type: 'buy'
- Simulate a sell trade and assert the delivered payload contains
event_type: 'sell'
Acceptance Criteria
ETA: 12 hours
Coordinate on Telegram
Summary
The trade webhook delivery payload must contain an
event_typefield set to eitherbuyorsellmatching the trade that triggered it. An integration test should confirm the field is populated correctly for both event types.Scope
event_type: 'buy'event_type: 'sell'Acceptance Criteria
event_type: 'buy'event_type: 'sell'event_typevalue appears in the payloadETA: 12 hours
Coordinate on Telegram