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

card.closed
Вебхук

Запрос

The card is closed; the remaining balance minus the closure fee is credited to the company.

Заголовки
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.closed"
cardIdstring, (uuid)обязательный
maskedPanstring or null
closingBalancenumberобязательный
Пример:24.5
feeUsdtnumberобязательный
Пример:1
refundUsdtnumberобязательный

closingBalance − feeUsdt, not less than 0

Пример:23.5
createdAtstring, (date-time)обязательный

When the event was sent

Payload
{ "event": "card.closed", "cardId": "f16ba382-eb42-481a-b08f-c57bdc9aae24", "maskedPan": "string", "closingBalance": 24.5, "feeUsdt": 1, "refundUsdt": 23.5, "createdAt": "2019-08-24T14:15:22Z" }

Ответы

Any 2xx acknowledges the delivery.