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

order.status_changed
Вебхук

Запрос

The order became success, failed or disputed. Not sent for created / in_progress. When you open a dispute yourself, the webhook may or may not arrive — rely on the response.

Заголовки
X-Lumo-Signaturestringобязательный

HMAC-SHA256 of the raw request body with the company webhook secret, hex.

Пример:9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08
X-Lumo-Delivery-Idstring, (uuid)обязательный

Delivery id. The same for all retries of one delivery — use it to drop duplicates.

Телоapplication/jsonобязательный
eventstringобязательный
Value:"order.status_changed"
orderIdstring, (uuid)обязательный
walletOrderIdstring or null
statusstringобязательный
Enum:"success""failed""disputed"
amountUsdtnumberобязательный
Пример:52.63
amountRubnumberобязательный
Пример:5000
completedAtstring or null, (date-time)
failureReasonstring or null
Пример:null
createdAtstring, (date-time)обязательный

When the order was created

Payload
{ "event": "order.status_changed", "orderId": "b3e1eced-f2bd-4d8c-9765-fbc9d1d222d5", "walletOrderId": "string", "status": "success", "amountUsdt": 52.63, "amountRub": 5000, "completedAt": "2019-08-24T14:15:22Z", "failureReason": null, "createdAt": "2019-08-24T14:15:22Z" }

Ответы

Any 2xx acknowledges the delivery; anything else or no answer within 10 seconds triggers a retry.