Перейти к основному содержимому

POST /api/v1/p2p/orders/{id}/call-operator

Call an operator for dispute resolution on a P2P order. This sets the operator_called flag on the order and notifies the support team to intervene. Use this when there is a disagreement between buyer and seller (e.g., payment sent but not acknowledged).

Authentication

Required. The request must include a valid Bearer token in the Authorization header. Only a participant of the order can call an operator.

Request

ParameterTypeInDescription
idintegerpathThe P2P order ID.

No request body is required.

Example

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

Response

200 OK

Returns a success indicator.

{
"success": true
}

Error Responses

StatusCodeDescription
401UNAUTHORIZEDMissing or invalid authentication token.
403FORBIDDENUser is not a participant in this order.
404ORDER_NOT_FOUNDThe specified order does not exist.