Skip to main content

POST /api/v1/p2p/orders/{id}/confirm-received

Seller confirms that fiat payment has been received. This completes the P2P order: the frozen USDT is released from escrow to the buyer's balance, and the order status transitions to completed.

Authentication​

Required. The request must include a valid Bearer token in the Authorization header. Only the seller of the order can call this endpoint.

Request​

ParameterTypeInDescription
idintegerpathThe P2P order ID.

No request body is required.

Example​

curl -X POST https://example.com/api/v1/p2p/orders/101/confirm-received \
-H "Authorization: Bearer <token>"

Response​

200 OK​

Returns a success indicator.

{
"success": true
}

Error Responses​

StatusCodeDescription
401—Missing or invalid authentication token.
500—Failed to confirm receipt (plain text error with details).