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

card.otp_received
Вебхук

Запрос

A 3DS code arrived. maskedCard carries the last digits of the card number from the issuer's mail. Not sent for mail that arrived more than 15 minutes late, and the same code for the same card is not re-sent within 8 minutes.

Заголовки
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:"card.otp_received"
cardIdstring, (uuid)обязательный
codestringобязательный
Пример:"582130"
maskedCardstring or null

Last digits of the card number from the issuer's mail

Пример:"1234"
receivedAtstring or null, (date-time)
expiresAtstring or null, (date-time)

receivedAt + 5 minutes

createdAtstring, (date-time)обязательный

When the event was sent

Payload
{ "event": "card.otp_received", "cardId": "f16ba382-eb42-481a-b08f-c57bdc9aae24", "code": "582130", "maskedCard": "1234", "receivedAt": "2019-08-24T14:15:22Z", "expiresAt": "2019-08-24T14:15:22Z", "createdAt": "2019-08-24T14:15:22Z" }

Ответы

Any 2xx acknowledges the delivery.