Summary
Key ownership updates currently depend on polling. A webhook handler that receives Stellar Horizon payment and account events should update ownership records in real time, reducing latency between on-chain settlement and off-chain state.
Scope
- Expose a POST /webhooks/horizon endpoint to receive Horizon event callbacks
- Verify the HMAC-SHA256 signature on every incoming webhook payload
- Parse payment_received and transaction_successful event types
- Match the transaction memo to a pending key purchase order
- Update the owner field on the key record and emit an internal ownership_transferred event
Acceptance Criteria
ETA: 12 hours
Coordinate on Telegram
Summary
Key ownership updates currently depend on polling. A webhook handler that receives Stellar Horizon payment and account events should update ownership records in real time, reducing latency between on-chain settlement and off-chain state.
Scope
Acceptance Criteria
ETA: 12 hours
Coordinate on Telegram