- Доставка вебхука
Отправить тестовый вебхук
Журнал доставок вебхуков
order.status_changed
deposit.* — депозиты компании
deposit.* — депозиты на кошельки пользователей
payout.status_changed / payout.recharged
card.assigned
card.request_cancelled
card.otp_received
card.transaction.created / card.transaction.settled
card.status_changed
card.closed
card.recharge.*
webhook.test
Доставка вебхука
Одна доставка вместе с отправленным телом. На неизвестный id придёт 400 WEBHOOK_DELIVERY_NOT_FOUND. Нужно право webhook.manage.
Безопасность
apiKeyAuth
- Мок-серверhttps://b2b-app.lumowallet.io/_mock/apis/webhooks/deliveries/{id}
- https://b2b.lumowallet.iohttps://b2b.lumowallet.io/webhooks/deliveries/{id}
- https://b2b-staging.lumowallet.iohttps://b2b-staging.lumowallet.io/webhooks/deliveries/{id}
curl -i -X GET \
'https://b2b-app.lumowallet.io/_mock/apis/webhooks/deliveries/{id}' \
-H 'X-API-Key: YOUR_API_KEY_HERE'Доставка
Ответ
{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "deliveryType": "order", "event": "order.status_changed", "targetUrl": "string", "attempts": 4, "maxAttempts": 4, "delivered": true, "lastStatusCode": 500, "lastError": "Error: HTTP 500", "lastResponseBody": "string", "createdAt": "2019-08-24T14:15:22Z", "deliveredAt": "2019-08-24T14:15:22Z", "payload": {}, "updatedAt": "2019-08-24T14:15:22Z" }