Skip to content

Mark as paid ​

http
POST /api/trades/:id/paid

User · buyer only

Records that the buyer sent the Naira. Stops the payment window.

Preconditions ​

  • Trade is ESCROW_LOCKED
  • paymentDeadline hasn't passed

Effects ​

  • status → PAID, paidAt set
  • System message posted to chat
  • trade:updated emitted

Response 200 ​

Updated trade details.

Errors ​

StatusCodeCause
403FORBIDDENNot the buyer
404NOT_FOUND
409CONFLICTWrong status, or changed concurrently
422PAYMENT_WINDOW_CLOSEDDeadline passed

Nexlm is a peer-to-peer facilitator and never holds customer Naira.