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

Webhook delivery log

Запрос

Sent webhooks, newest first. id equals the X-Lumo-Delivery-Id header of the delivery. Requires webhook.manage.

Безопасность
apiKeyAuth
Запрос
limitinteger, [ 1 .. 200 ]
По умолчанию:50
beforestring, (date-time)

Cursor — deliveries with createdAt < before.

typestring
Enum:"order""deposit""card""payout""test"
curl -i -X GET \
  'https://b2b-app.lumowallet.io/_mock/apis/webhooks/deliveries?limit=50&before=2019-08-24T14%3A15%3A22Z&type=order' \
  -H 'X-API-Key: YOUR_API_KEY_HERE'

Ответы

Deliveries

Телоapplication/json
Array [
idstring, (uuid)

Same as the X-Lumo-Delivery-Id header

deliveryTypestring
Enum:"order""deposit""card""payout""test"
eventstring or null
Пример:"order.status_changed"
targetUrlstring
attemptsinteger
Пример:4
maxAttemptsinteger
Пример:4
deliveredboolean
lastStatusCodeinteger or null
Пример:500
lastErrorstring or null
Пример:"Error: HTTP 500"
lastResponseBodystring or null

First 1000 characters of your server's response

createdAtstring, (date-time)
deliveredAtstring or null, (date-time)
]
Ответ
[ { "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" } ]