Skip to content

Add integration test for webhook delivery payload containing correct event type field #514

Description

@Chucks1093

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

  • Buy trade delivers payload with event_type: 'buy'
  • Sell trade delivers payload with event_type: 'sell'
  • No other event_type value appears in the payload

ETA: 12 hours


Coordinate on Telegram

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave program

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions