Mark as paid
http
POST /api/trades/:id/paidUser · buyer only
Records that the buyer sent the Naira. Stops the payment window.
Preconditions
- Trade is
ESCROW_LOCKED paymentDeadlinehasn't passed
Effects
status → PAID,paidAtset- System message posted to chat
trade:updatedemitted
Response 200
Updated trade details.
Errors
| Status | Code | Cause |
|---|---|---|
| 403 | FORBIDDEN | Not the buyer |
| 404 | NOT_FOUND | |
| 409 | CONFLICT | Wrong status, or changed concurrently |
| 422 | PAYMENT_WINDOW_CLOSED | Deadline passed |