A later debit concluded
Sent to your notification URL once a debit you asked for on a registered card (POST /api/sessions/{sessionId}/debit) has its verdict: taken, or refused. Tell your customer: the platform does not.
Authorizations
Section titled “Authorizations”Request Bodyrequired
Section titled “Request Bodyrequired”The verdict of a later debit you asked for on a registered card.
object
Stable across retries: deduplicate on it.
Your own order reference.
The extraData you gave THIS debit, echoed as given — absent if you gave none.
The session whose card was debited.
The tranche that registered the card.
The payment method archetype.
The card network this tranche ran on — on a co-badged card, the one the cardholder chose. Card tranches only; an absence means the PSP named none we could place, never that there was none.
The card as the PSP masked it: its first six and last four digits, the rest X. Card tranches only, and only when the PSP gave it — never a full number.
The country of the card’s issuer, ISO 3166 alpha-2 — when the PSP gave it.
The debit itself — what POST /api/sessions/{sessionId}/debit answered.
Whether the money was taken. failed: nothing was debited, and the amount counts no longer.
The debited amount.
object
Amount in the MINOR unit of the currency — 1000_00 is one thousand euros, never 1000.
ISO 4217 code, uppercase. One currency per session.
Which PSP ran it.
The PSP’s own reference for the debit.
The PSP’s code for its verdict.
The PSP’s words for its verdict.
Example
{ "event": "debit", "notificationId": "019f18f1-cbf4-762f-bd94-776f523c9ffb:019f2a10-5c21-7a8e-9d3f-1b2c3d4e5f60", "orderId": "EP-123456", "extraData": "retenue-EP-123456-01", "sessionId": "019f18f1-cbf4-762f-bd94-776f523c9ffb", "attemptId": "019f18f2-6ceb-729c-98b4-d60271a718e0", "method": "card", "cardScheme": "visa", "cardCode": "497010XXXXXX0007", "cardCountry": "FR", "transactionId": "019f2a10-5c21-7a8e-9d3f-1b2c3d4e5f60", "status": "succeeded", "amount": { "amount": 8000, "currency": "EUR" }, "provider": "dalenys", "providerRef": "A180702211", "statusCode": "0000", "statusMessage": "Successful Operation"}Responses
Section titled “ Responses ”Received. Answer 200 with the body OK in text/plain: any other answer — another status, another content type, another body — is retried at t+1 second, t+1 minute, then t+5 minutes.