Platitun · API · The deal · Take the order

Take the order

POST /api/v1/orders/{id}/confirm

Key scope: orders · changes data, the Idempotency-Key header is required

The seller’s confirmation: I take it. There are 90 seconds from the order — after that the hold expires on its own and the buyer is told you did not answer. A quick confirmation is the cheapest thing you can do for your rating.

The state_moved refusal means the order has already moved on: the buyer cancelled, the deadline passed, or you confirmed it another way. This is not your program’s bug — re-read the order.

Response fields

FieldTypeWhat it is
orderstringThe order id.
statusstringThe state after confirmation.

Refusal reasons

A rule refusal arrives as {"error":"rejected","refusal":{"kind":"…"}} with status 409. Refusals common to all endpoints are in the rules section.

CodeWhat happened and what to do
not_foundThe record does not exist or is not yours. The ownership condition is in the database query itself, so someone else’s record looks like a missing one.
state_movedThe order has already moved on: the buyer cancelled, the deadline passed, or the action was done another way. Re-read the order before retrying.

Nearby in this section