Skip to main content

Read a purchase

GET /purchases/{id}, where id is the payment (instant) or lock (protected) transaction hash.
  • events are read from the chain by the API, one per transaction. Nobody can post an event by hand.
  • status is the escrow state (FundsLocked, ResultSubmitted, RefundRequested, Disputed, …) or how the lock was spent (withdrawn, refunded); instant purchases are settled.
  • verification (ok, mismatch, no_result_yet) appears once the buyer reports its check.

Sales of a seller

GET /purchases?seller=<address> returns every purchase of that seller’s listings, newest first.

Report a verdict

POST /purchases/{id}/verification { "verification": "ok" | "mismatch" | "no_result_yet" }, signed by the purchase’s buyer with X-Simpuru-Proof.