---
title: "Événement payment.refunded"
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.recette.maeck.xyz/llms.txt
> Use this file to discover all available pages before exploring further.

# Événement payment.refunded

Path: API de l'orchestrateur de paiement

`POST payment.refunded`

_Webhook._

Signed with the secret of the endpoint (whsec_…, the current or, for 24 h after a rotation, the previous version). The receiver checks the signature, deduplicates by Webhook-Id, stores the event, answers 2xx within 10 s (5 s for a destination of the merchant), then re-reads the resource by GET before any effect; data.object.version orders the states of a payment.

## Header parameters

- `Webhook-Signature` (`payment.refunded.header.Webhook-Signature`; string, required) — CMS-HMAC-SHA256 keyId=<whe_id>:<secret version>,ts=<unix>,nonce=<uuid>,sig=<base64(HMAC-SHA256(secret, POST\nPATH\nts\nnonce\nsha256hex(body)))>, PATH being the path and query of the endpoint URL; each attempt is signed again.
  - pattern: `^CMS-HMAC-SHA256 keyId=whe_[0-9a-f]{32}:[1-9][0-9]{0,8},ts=[1-9][0-9]{0,11},nonce=[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12},sig=[A-Za-z0-9+/]{43}=$`
- `Webhook-Id` (`payment.refunded.header.Webhook-Id`; string, required) — Id of the event (body id), the key of deduplication.
  - pattern: `^evt_[0-9a-f]{32}$`
- `Webhook-Event-Type` (`payment.refunded.header.Webhook-Event-Type`; string, required)
  - one of `"payment.refunded"`
- `Idempotency-Key` (`payment.refunded.header.Idempotency-Key`; string, required) — The event id, as Webhook-Id.
  - pattern: `^evt_[0-9a-f]{32}$`
- `Webhook-Token` (`payment.refunded.header.Webhook-Token`; string, optional) — Destinations of the merchant only: their header token, as is, besides the signature (docs/marchand-sans-cms.md); compared in constant time by a receiver that cannot check a signature.
  - pattern: `^whtok_[A-Za-z0-9_-]{43}$`

## Request body

_Required._

- `id` (`payment.refunded.id`; string, required)
  - pattern: `^evt_[0-9a-f]{32}$`
- `type` (`payment.refunded.type`; string, required)
  - one of `"payment.refunded"`
- `apiVersion` (`payment.refunded.apiVersion`; string, required)
  - one of `"2026-10-22"`
- `createdAt` (`payment.refunded.createdAt`; string, required)
  - format: `date-time`
- `testMode` (`payment.refunded.testMode`; boolean, required)
- `data` (`payment.refunded.data`; object, required)
  - `object` (`payment.refunded.data.object`; object, required)
    - `payment` (`payment.refunded.data.object.payment`; object, required)
      - `paymentId` (`payment.refunded.data.object.payment.paymentId`; string, required)
      - `status` (`payment.refunded.data.object.payment.status`; string, required)
        - one of `"processing"`, `"requires_action"`, `"succeeded"`, `"failed"`, `"voided"`
      - `statusDetail` (`payment.refunded.data.object.payment.statusDetail`; string, required)
        - one of `"authorizing"`, `"requires_action"`, `"verifying"`, `"outcome_unknown"`, `"review_required"`, `"succeeded"`, `"failed"`, `"voided"`
      - `testMode` (`payment.refunded.data.object.payment.testMode`; boolean, required)
      - `siteRef` (`payment.refunded.data.object.payment.siteRef`; string, required)
      - `campaignRef` (`payment.refunded.data.object.payment.campaignRef`; string, required)
      - `orderRef` (`payment.refunded.data.object.payment.orderRef`; string, required)
      - `amount` (`payment.refunded.data.object.payment.amount`; object, required)
        - `amount` (`payment.refunded.data.object.payment.amount.amount`; integer, required)
          - maximum: `99999999` · minimum: `0`
        - `currency` (`payment.refunded.data.object.payment.amount.currency`; string, required)
          - one of `"EUR"`
      - `amountCaptured` (`payment.refunded.data.object.payment.amountCaptured`; object, required)
        - `amount` (`payment.refunded.data.object.payment.amountCaptured.amount`; integer, required)
          - maximum: `99999999` · minimum: `0`
        - `currency` (`payment.refunded.data.object.payment.amountCaptured.currency`; string, required)
          - one of `"EUR"`
      - `amountRefunded` (`payment.refunded.data.object.payment.amountRefunded`; object, required)
        - `amount` (`payment.refunded.data.object.payment.amountRefunded.amount`; integer, required)
          - maximum: `99999999` · minimum: `0`
        - `currency` (`payment.refunded.data.object.payment.amountRefunded.currency`; string, required)
          - one of `"EUR"`
      - `captureMode` (`payment.refunded.data.object.payment.captureMode`; string, required)
        - one of `"sale"`, `"authorize_only"`
      - `routing` (`payment.refunded.data.object.payment.routing`; object, required)
        - `mode` (`payment.refunded.data.object.payment.routing.mode`; string, required)
          - one of `"mids"`, `"profile"`, `"none"`
        - `profileRef` (`payment.refunded.data.object.payment.routing.profileRef`; string, optional)
        - `transfer` (`payment.refunded.data.object.payment.routing.transfer`; object, optional)
          - `fromMidId` (`payment.refunded.data.object.payment.routing.transfer.fromMidId`; string | null, required)
          - `reason` (`payment.refunded.data.object.payment.routing.transfer.reason`; string, required)
            - one of `"requested"`, `"moved"`, `"replacement"`, `"imported"`
      - `mid` (`payment.refunded.data.object.payment.mid`; any of, required)
        - any of the following:
          - `object`
            - `midId` (`payment.refunded.data.object.payment.mid.1.midId`; string, required)
            - `merchantRef` (`payment.refunded.data.object.payment.mid.1.merchantRef`; string, required)
            - `descriptor` (`payment.refunded.data.object.payment.mid.1.descriptor`; string, optional)
          - `null`
      - `card` (`payment.refunded.data.object.payment.card`; object, required)
        - `brand` (`payment.refunded.data.object.payment.card.brand`; string, required)
        - `last4` (`payment.refunded.data.object.payment.card.last4`; string, required)
        - `expMonth` (`payment.refunded.data.object.payment.card.expMonth`; integer, required)
          - maximum: `9007199254740991` · minimum: `-9007199254740991`
        - `expYear` (`payment.refunded.data.object.payment.card.expYear`; integer, required)
          - maximum: `9007199254740991` · minimum: `-9007199254740991`
        - `funding` (`payment.refunded.data.object.payment.card.funding`; string, required)
          - one of `"credit"`, `"debit"`, `"prepaid"`, `"unknown"`
        - `wallet` (`payment.refunded.data.object.payment.card.wallet`; string, optional)
          - one of `"apple_pay"`, `"google_pay"`
        - `first6` (`payment.refunded.data.object.payment.card.first6`; string, optional)
          - pattern: `^[0-9]{6}$`
      - `connectorRefs` (`payment.refunded.data.object.payment.connectorRefs`; object, required)
        - `connector` (`payment.refunded.data.object.payment.connectorRefs.connector`; string, required)
          - one of `"sandbox"`
        - `orderId` (`payment.refunded.data.object.payment.connectorRefs.orderId`; string, optional)
        - `customerId` (`payment.refunded.data.object.payment.connectorRefs.customerId`; string, optional)
        - `transactionIds` (`payment.refunded.data.object.payment.connectorRefs.transactionIds`; array of string, optional)
        - `purchaseIds` (`payment.refunded.data.object.payment.connectorRefs.purchaseIds`; array of string, optional)
      - `riskAnalysis` (`payment.refunded.data.object.payment.riskAnalysis`; any of, required)
        - any of the following:
          - `object`
            - `cvc` (`payment.refunded.data.object.payment.riskAnalysis.1.cvc`; string, required)
              - one of `"match"`, `"no_match"`, `"not_checked"`, `"unavailable"`
            - `avs` (`payment.refunded.data.object.payment.riskAnalysis.1.avs`; object, required)
              - `address` (`payment.refunded.data.object.payment.riskAnalysis.1.avs.address`; string, required)
                - one of `"match"`, `"no_match"`, `"not_checked"`, `"unavailable"`
              - `postalCode` (`payment.refunded.data.object.payment.riskAnalysis.1.avs.postalCode`; string, required)
                - one of `"match"`, `"no_match"`, `"not_checked"`, `"unavailable"`
            - `threeDs` (`payment.refunded.data.object.payment.riskAnalysis.1.threeDs`; string, required)
              - one of `"authenticated"`, `"failed"`, `"abandoned"`, `"not_required"`, `"unknown"`
            - `riskLevel` (`payment.refunded.data.object.payment.riskAnalysis.1.riskLevel`; string, required)
              - one of `"low"`, `"elevated"`, `"high"`
            - `riskReasons` (`payment.refunded.data.object.payment.riskAnalysis.1.riskReasons`; array of string, required)
            - `ipCountry` (`payment.refunded.data.object.payment.riskAnalysis.1.ipCountry`; any of, required)
              - any of the following: `string`, `null`
            - `cardCountry` (`payment.refunded.data.object.payment.riskAnalysis.1.cardCountry`; any of, required)
              - any of the following: `string`, `null`
            - `checkedAt` (`payment.refunded.data.object.payment.riskAnalysis.1.checkedAt`; string, required)
              - format: `date-time` · pattern: `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$`
          - `null`
      - `postPurchases` (`payment.refunded.data.object.payment.postPurchases`; array of object, required)
        - `postPurchaseId` (`payment.refunded.data.object.payment.postPurchases.postPurchaseId`; string, required)
        - `paymentId` (`payment.refunded.data.object.payment.postPurchases.paymentId`; string, required)
        - `step` (`payment.refunded.data.object.payment.postPurchases.step`; integer, required)
          - maximum: `9007199254740991` · minimum: `-9007199254740991`
        - `status` (`payment.refunded.data.object.payment.postPurchases.status`; string, required)
          - one of `"succeeded"`, `"requires_action"`, `"processing"`, `"failed"`
        - `statusDetail` (`payment.refunded.data.object.payment.postPurchases.statusDetail`; string, required)
          - one of `"authorizing"`, `"requires_action"`, `"verifying"`, `"outcome_unknown"`, `"review_required"`, `"succeeded"`, `"failed"`, `"voided"`
        - `nextAction` (`payment.refunded.data.object.payment.postPurchases.nextAction`; any of, required)
          - any of the following:
            - `object`
              - `type` (`payment.refunded.data.object.payment.postPurchases.nextAction.1.type`; string, required)
                - one of `"redirect"`
              - `url` (`payment.refunded.data.object.payment.postPurchases.nextAction.1.url`; string, required)
            - `null`
        - `amount` (`payment.refunded.data.object.payment.postPurchases.amount`; object, required)
          - `amount` (`payment.refunded.data.object.payment.postPurchases.amount.amount`; integer, required)
            - maximum: `99999999` · minimum: `0`
          - `currency` (`payment.refunded.data.object.payment.postPurchases.amount.currency`; string, required)
            - one of `"EUR"`
        - `amountRefunded` (`payment.refunded.data.object.payment.postPurchases.amountRefunded`; object, required)
          - `amount` (`payment.refunded.data.object.payment.postPurchases.amountRefunded.amount`; integer, required)
            - maximum: `99999999` · minimum: `0`
          - `currency` (`payment.refunded.data.object.payment.postPurchases.amountRefunded.currency`; string, required)
            - one of `"EUR"`
        - `connectorRefs` (`payment.refunded.data.object.payment.postPurchases.connectorRefs`; object, required)
          - `connector` (`payment.refunded.data.object.payment.postPurchases.connectorRefs.connector`; string, required)
            - one of `"sandbox"`
          - `orderId` (`payment.refunded.data.object.payment.postPurchases.connectorRefs.orderId`; string, optional)
          - `transactionIds` (`payment.refunded.data.object.payment.postPurchases.connectorRefs.transactionIds`; array of string, optional)
        - `metadata` (`payment.refunded.data.object.payment.postPurchases.metadata`; map of string, required)
        - `createdAt` (`payment.refunded.data.object.payment.postPurchases.createdAt`; string, required)
          - format: `date-time` · pattern: `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$`
        - `updatedAt` (`payment.refunded.data.object.payment.postPurchases.updatedAt`; string, required)
          - format: `date-time` · pattern: `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$`
        - `failure` (`payment.refunded.data.object.payment.postPurchases.failure`; object, optional)
          - `code` (`payment.refunded.data.object.payment.postPurchases.failure.code`; string, required)
          - `category` (`payment.refunded.data.object.payment.postPurchases.failure.category`; string, required)
            - one of `"soft"`, `"hard"`, `"technical"`
          - `retryable` (`payment.refunded.data.object.payment.postPurchases.failure.retryable`; boolean, required)
        - `succeededAt` (`payment.refunded.data.object.payment.postPurchases.succeededAt`; string, optional)
          - format: `date-time` · pattern: `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$`
      - `refunds` (`payment.refunded.data.object.payment.refunds`; array of object, required)
        - `refundId` (`payment.refunded.data.object.payment.refunds.refundId`; string, required)
        - `paymentId` (`payment.refunded.data.object.payment.refunds.paymentId`; string, required)
        - `amount` (`payment.refunded.data.object.payment.refunds.amount`; object, required)
          - `amount` (`payment.refunded.data.object.payment.refunds.amount.amount`; integer, required)
            - maximum: `99999999` · minimum: `0`
          - `currency` (`payment.refunded.data.object.payment.refunds.amount.currency`; string, required)
            - one of `"EUR"`
        - `amountVoided` (`payment.refunded.data.object.payment.refunds.amountVoided`; object, required)
          - `amount` (`payment.refunded.data.object.payment.refunds.amountVoided.amount`; integer, required)
            - maximum: `99999999` · minimum: `0`
          - `currency` (`payment.refunded.data.object.payment.refunds.amountVoided.currency`; string, required)
            - one of `"EUR"`
        - `status` (`payment.refunded.data.object.payment.refunds.status`; string, required)
          - one of `"pending"`, `"succeeded"`, `"failed"`, `"requires_manual"`
        - `reason` (`payment.refunded.data.object.payment.refunds.reason`; string, required)
          - one of `"requested_by_customer"`, `"duplicate"`, `"fraudulent"`, `"withdrawal"`, `"subscription_cancellation"`, `"other"`
        - `source` (`payment.refunded.data.object.payment.refunds.source`; string, required)
          - one of `"api"`, `"external"`
        - `subscriptionCancelled` (`payment.refunded.data.object.payment.refunds.subscriptionCancelled`; boolean, required)
        - `createdAt` (`payment.refunded.data.object.payment.refunds.createdAt`; string, required)
          - format: `date-time` · pattern: `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$`
        - `postPurchaseId` (`payment.refunded.data.object.payment.refunds.postPurchaseId`; string, optional)
        - `failure` (`payment.refunded.data.object.payment.refunds.failure`; object, optional)
          - `code` (`payment.refunded.data.object.payment.refunds.failure.code`; string, required)
        - `finalizedAt` (`payment.refunded.data.object.payment.refunds.finalizedAt`; string, optional)
          - format: `date-time` · pattern: `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$`
      - `metadata` (`payment.refunded.data.object.payment.metadata`; map of string, required)
      - `sourcePaymentId` (`payment.refunded.data.object.payment.sourcePaymentId`; string | null, required)
      - `version` (`payment.refunded.data.object.payment.version`; integer, required)
        - maximum: `9007199254740991` · minimum: `-9007199254740991`
      - `createdAt` (`payment.refunded.data.object.payment.createdAt`; string, required)
        - format: `date-time` · pattern: `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$`
      - `updatedAt` (`payment.refunded.data.object.payment.updatedAt`; string, required)
        - format: `date-time` · pattern: `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$`
      - `cardToken` (`payment.refunded.data.object.payment.cardToken`; object, optional)
        - `id` (`payment.refunded.data.object.payment.cardToken.id`; string, required)
        - `customerRef` (`payment.refunded.data.object.payment.cardToken.customerRef`; string | null, required)
      - `cardVerification` (`payment.refunded.data.object.payment.cardVerification`; object, optional)
        - `mode` (`payment.refunded.data.object.payment.cardVerification.mode`; string, required)
          - one of `"zero_amount"`, `"one_unit"`
        - `release` (`payment.refunded.data.object.payment.cardVerification.release`; string, required)
          - one of `"none"`, `"pending"`, `"released"`, `"manual"`
      - `authorizationCode` (`payment.refunded.data.object.payment.authorizationCode`; string, optional)
        - pattern: `^[A-Za-z0-9]{1,6}$`
      - `chargebackAlerts` (`payment.refunded.data.object.payment.chargebackAlerts`; array of object, optional)
        - `alertId` (`payment.refunded.data.object.payment.chargebackAlerts.alertId`; string, required)
        - `provider` (`payment.refunded.data.object.payment.chargebackAlerts.provider`; string, required)
          - one of `"sandbox"`, `"verifi"`, `"ethoca"`
        - `alertType` (`payment.refunded.data.object.payment.chargebackAlerts.alertType`; string, required)
          - one of `"dispute"`, `"fraud"`
        - `status` (`payment.refunded.data.object.payment.chargebackAlerts.status`; string, required)
          - one of `"received"`, `"pending_decision"`, `"refunding"`, `"refunded"`, `"declined"`, `"unmatched"`, `"network_resolved"`, `"refund_failed"`
        - `amount` (`payment.refunded.data.object.payment.chargebackAlerts.amount`; object, required)
          - `amount` (`payment.refunded.data.object.payment.chargebackAlerts.amount.amount`; integer, required)
            - maximum: `99999999` · minimum: `0`
          - `currency` (`payment.refunded.data.object.payment.chargebackAlerts.amount.currency`; string, required)
            - one of `"EUR"`
        - `receivedAt` (`payment.refunded.data.object.payment.chargebackAlerts.receivedAt`; string, required)
          - format: `date-time` · pattern: `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$`
      - `nextAction` (`payment.refunded.data.object.payment.nextAction`; object, optional)
        - `type` (`payment.refunded.data.object.payment.nextAction.type`; string, required)
          - one of `"redirect"`
        - `url` (`payment.refunded.data.object.payment.nextAction.url`; string, required)
      - `failure` (`payment.refunded.data.object.payment.failure`; object, optional)
        - `code` (`payment.refunded.data.object.payment.failure.code`; string, required)
        - `category` (`payment.refunded.data.object.payment.failure.category`; string, required)
          - one of `"soft"`, `"hard"`, `"technical"`
        - `retryable` (`payment.refunded.data.object.payment.failure.retryable`; boolean, required)
        - `declineReason` (`payment.refunded.data.object.payment.failure.declineReason`; string, optional)
          - one of `"insufficient_funds"`, `"do_not_honor"`, `"try_again_later"`, `"lost_or_stolen_card"`, `"suspected_fraud"`, `"do_not_retry"`, `"other"`
        - `providerCode` (`payment.refunded.data.object.payment.failure.providerCode`; string, optional)
          - maxLength: `64`
        - `providerMessage` (`payment.refunded.data.object.payment.failure.providerMessage`; string, optional)
          - maxLength: `200`
      - `threeDs` (`payment.refunded.data.object.payment.threeDs`; object, optional)
        - `required` (`payment.refunded.data.object.payment.threeDs.required`; boolean, required)
        - `outcome` (`payment.refunded.data.object.payment.threeDs.outcome`; string, optional)
          - one of `"authenticated"`, `"failed"`, `"abandoned"`, `"unknown"`
      - `verification` (`payment.refunded.data.object.payment.verification`; object, optional)
        - `rule` (`payment.refunded.data.object.payment.verification.rule`; string, required)
        - `verifiedAt` (`payment.refunded.data.object.payment.verification.verifiedAt`; string, required)
          - format: `date-time` · pattern: `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$`
        - `evidence` (`payment.refunded.data.object.payment.verification.evidence`; map of string | number | boolean, required)
      - `postPurchase` (`payment.refunded.data.object.payment.postPurchase`; object, optional)
        - `token` (`payment.refunded.data.object.payment.postPurchase.token`; string, required)
        - `expiresAt` (`payment.refunded.data.object.payment.postPurchase.expiresAt`; string, required)
          - format: `date-time` · pattern: `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$`
        - `remainingSteps` (`payment.refunded.data.object.payment.postPurchase.remainingSteps`; integer, required)
          - maximum: `9007199254740991` · minimum: `-9007199254740991`
      - `cardTokenId` (`payment.refunded.data.object.payment.cardTokenId`; string, optional)
      - `renewalRetry` (`payment.refunded.data.object.payment.renewalRetry`; object, optional)
        - `billingCycleRef` (`payment.refunded.data.object.payment.renewalRetry.billingCycleRef`; string, required)
        - `attempt` (`payment.refunded.data.object.payment.renewalRetry.attempt`; integer, required)
          - maximum: `9007199254740991` · minimum: `-9007199254740991`
        - `mode` (`payment.refunded.data.object.payment.renewalRetry.mode`; string, optional)
          - one of `"orchestrator"`, `"merchant"`
        - `nextAttemptAt` (`payment.refunded.data.object.payment.renewalRetry.nextAttemptAt`; any of, optional)
          - any of the following: `string`, `null`
        - `nextAttempt` (`payment.refunded.data.object.payment.renewalRetry.nextAttempt`; object, optional)
          - `number` (`payment.refunded.data.object.payment.renewalRetry.nextAttempt.number`; integer, required)
            - maximum: `9007199254740991` · minimum: `-9007199254740991`
          - `amount` (`payment.refunded.data.object.payment.renewalRetry.nextAttempt.amount`; object, required)
            - `amount` (`payment.refunded.data.object.payment.renewalRetry.nextAttempt.amount.amount`; integer, required)
              - maximum: `99999999` · minimum: `0`
            - `currency` (`payment.refunded.data.object.payment.renewalRetry.nextAttempt.amount.currency`; string, required)
              - one of `"EUR"`
        - `holdReducedPrice` (`payment.refunded.data.object.payment.renewalRetry.holdReducedPrice`; boolean, optional)
      - `succeededAt` (`payment.refunded.data.object.payment.succeededAt`; string, optional)
        - format: `date-time` · pattern: `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$`
      - `customerData` (`payment.refunded.data.object.payment.customerData`; any of, optional) — Customer data of this payment, as sent at its date. Null once erased (retention of the company, or erasure on request) or when none was kept. Only in the response of `GET /v1/payments/{id}`, with `include=customerData` and the scope `customers:read`.
        - any of the following:
          - `object`
            - `customer` (`payment.refunded.data.object.payment.customerData.1.customer`; object, required)
              - `email` (`payment.refunded.data.object.payment.customerData.1.customer.email`; string, required) — E-mail of the customer, as sent with the payment.
              - `firstName` (`payment.refunded.data.object.payment.customerData.1.customer.firstName`; string, required)
                - maxLength: `64` · minLength: `1` · pattern: `^[^\p{Cc}]*$`
              - `lastName` (`payment.refunded.data.object.payment.customerData.1.customer.lastName`; string, required)
                - maxLength: `64` · minLength: `1` · pattern: `^[^\p{Cc}]*$`
              - `phone` (`payment.refunded.data.object.payment.customerData.1.customer.phone`; string, optional)
                - pattern: `^\+[1-9][0-9]{6,14}$`
            - `billingAddress` (`payment.refunded.data.object.payment.customerData.1.billingAddress`; object, required)
              - `line1` (`payment.refunded.data.object.payment.customerData.1.billingAddress.line1`; string, required)
                - maxLength: `100` · minLength: `1` · pattern: `^[^\p{Cc}]*$`
              - `postalCode` (`payment.refunded.data.object.payment.customerData.1.billingAddress.postalCode`; string, required)
                - maxLength: `16` · minLength: `1` · pattern: `^[^\p{Cc}]*$`
              - `city` (`payment.refunded.data.object.payment.customerData.1.billingAddress.city`; string, required)
                - maxLength: `64` · minLength: `1` · pattern: `^[^\p{Cc}]*$`
              - `country` (`payment.refunded.data.object.payment.customerData.1.billingAddress.country`; string, required)
                - pattern: `^[A-Z]{2}$`
              - `line2` (`payment.refunded.data.object.payment.customerData.1.billingAddress.line2`; string, optional)
                - maxLength: `100` · minLength: `0` · pattern: `^[^\p{Cc}]*$`
            - `shippingAddress` (`payment.refunded.data.object.payment.customerData.1.shippingAddress`; any of, required)
              - any of the following:
                - `object`
                  - `line1` (`payment.refunded.data.object.payment.customerData.1.shippingAddress.1.line1`; string, required)
                    - maxLength: `100` · minLength: `1` · pattern: `^[^\p{Cc}]*$`
                  - `postalCode` (`payment.refunded.data.object.payment.customerData.1.shippingAddress.1.postalCode`; string, required)
                    - maxLength: `16` · minLength: `1` · pattern: `^[^\p{Cc}]*$`
                  - `city` (`payment.refunded.data.object.payment.customerData.1.shippingAddress.1.city`; string, required)
                    - maxLength: `64` · minLength: `1` · pattern: `^[^\p{Cc}]*$`
                  - `country` (`payment.refunded.data.object.payment.customerData.1.shippingAddress.1.country`; string, required)
                    - pattern: `^[A-Z]{2}$`
                  - `firstName` (`payment.refunded.data.object.payment.customerData.1.shippingAddress.1.firstName`; string, required)
                    - maxLength: `64` · minLength: `1` · pattern: `^[^\p{Cc}]*$`
                  - `lastName` (`payment.refunded.data.object.payment.customerData.1.shippingAddress.1.lastName`; string, required)
                    - maxLength: `64` · minLength: `1` · pattern: `^[^\p{Cc}]*$`
                  - `line2` (`payment.refunded.data.object.payment.customerData.1.shippingAddress.1.line2`; string, optional)
                    - maxLength: `100` · minLength: `0` · pattern: `^[^\p{Cc}]*$`
                - `null`
          - `null`
    - `refund` (`payment.refunded.data.object.refund`; object, required)
      - `refundId` (`payment.refunded.data.object.refund.refundId`; string, required)
      - `paymentId` (`payment.refunded.data.object.refund.paymentId`; string, required)
      - `amount` (`payment.refunded.data.object.refund.amount`; object, required)
        - `amount` (`payment.refunded.data.object.refund.amount.amount`; integer, required)
          - maximum: `99999999` · minimum: `0`
        - `currency` (`payment.refunded.data.object.refund.amount.currency`; string, required)
          - one of `"EUR"`
      - `amountVoided` (`payment.refunded.data.object.refund.amountVoided`; object, required)
        - `amount` (`payment.refunded.data.object.refund.amountVoided.amount`; integer, required)
          - maximum: `99999999` · minimum: `0`
        - `currency` (`payment.refunded.data.object.refund.amountVoided.currency`; string, required)
          - one of `"EUR"`
      - `status` (`payment.refunded.data.object.refund.status`; string, required)
        - one of `"pending"`, `"succeeded"`, `"failed"`, `"requires_manual"`
      - `reason` (`payment.refunded.data.object.refund.reason`; string, required)
        - one of `"requested_by_customer"`, `"duplicate"`, `"fraudulent"`, `"withdrawal"`, `"subscription_cancellation"`, `"other"`
      - `source` (`payment.refunded.data.object.refund.source`; string, required)
        - one of `"api"`, `"external"`
      - `subscriptionCancelled` (`payment.refunded.data.object.refund.subscriptionCancelled`; boolean, required)
      - `createdAt` (`payment.refunded.data.object.refund.createdAt`; string, required)
        - format: `date-time` · pattern: `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$`
      - `postPurchaseId` (`payment.refunded.data.object.refund.postPurchaseId`; string, optional)
      - `failure` (`payment.refunded.data.object.refund.failure`; object, optional)
        - `code` (`payment.refunded.data.object.refund.failure.code`; string, required)
      - `finalizedAt` (`payment.refunded.data.object.refund.finalizedAt`; string, optional)
        - format: `date-time` · pattern: `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$`

## Example request

```json
{
  "id": "string",
  "type": "payment.refunded",
  "apiVersion": "2026-10-22",
  "createdAt": "2019-08-24T14:15:22Z",
  "testMode": true,
  "data": {
    "object": {
      "payment": {
        "paymentId": "string",
        "cardToken": {
          "id": "string",
          "customerRef": "string"
        },
        "status": "processing",
        "statusDetail": "authorizing",
        "testMode": true,
        "siteRef": "string",
        "campaignRef": "string",
        "orderRef": "string",
        "amount": {
          "amount": 99999999,
          "currency": "EUR"
        },
        "amountCaptured": {
          "amount": 99999999,
          "currency": "EUR"
        },
        "amountRefunded": {
          "amount": 99999999,
          "currency": "EUR"
        },
        "captureMode": "sale",
        "cardVerification": {
          "mode": "zero_amount",
          "release": "none"
        },
        "routing": {
          "mode": "mids",
          "profileRef": "string",
          "transfer": {
            "fromMidId": "string",
            "reason": "requested"
          }
        },
        "mid": {
          "midId": "string",
          "merchantRef": "string",
          "descriptor": "string"
        },
        "card": {
          "brand": "string",
          "last4": "string",
          "expMonth": -9007199254740991,
          "expYear": -9007199254740991,
          "wallet": "apple_pay",
          "first6": "string",
          "funding": "credit"
        },
        "authorizationCode": "string",
        "chargebackAlerts": [
          {
            "alertId": "string",
            "provider": "sandbox",
            "alertType": "dispute",
            "status": "received",
            "amount": {
              "amount": 99999999,
              "currency": "EUR"
            },
            "receivedAt": "2019-08-24T14:15:22Z"
          }
        ],
        "connectorRefs": {
          "connector": "sandbox",
          "orderId": "string",
          "customerId": "string",
          "transactionIds": [
            "string"
          ],
          "purchaseIds": [
            "string"
          ]
        },
        "nextAction": {
          "type": "redirect",
          "url": "string"
        },
        "failure": {
          "code": "string",
          "category": "soft",
          "retryable": true,
          "declineReason": "insufficient_funds",
          "providerCode": "string",
          "providerMessage": "string"
        },
        "threeDs": {
          "required": true,
          "outcome": "authenticated"
        },
        "verification": {
          "rule": "string",
          "verifiedAt": "2019-08-24T14:15:22Z",
          "evidence": {
            "property1": "string",
            "property2": "string"
          }
        },
        "riskAnalysis": {
          "cvc": "match",
          "avs": {
            "address": "match",
            "postalCode": "match"
          },
          "threeDs": "authenticated",
          "riskLevel": "low",
          "riskReasons": [
            "string"
          ],
          "ipCountry": "string",
          "cardCountry": "string",
          "checkedAt": "2019-08-24T14:15:22Z"
        },
        "postPurchase": {
          "token": "string",
          "expiresAt": "2019-08-24T14:15:22Z",
          "remainingSteps": -9007199254740991
        },
        "postPurchases": [
          {
            "postPurchaseId": "string",
            "paymentId": "string",
            "step": -9007199254740991,
            "status": "succeeded",
            "statusDetail": "authorizing",
            "nextAction": {
              "type": "redirect",
              "url": "string"
            },
            "amount": {
              "amount": 99999999,
              "currency": "EUR"
            },
            "amountRefunded": {
              "amount": 99999999,
              "currency": "EUR"
            },
            "connectorRefs": {
              "connector": "sandbox",
              "orderId": "string",
              "transactionIds": [
                null
              ]
            },
            "failure": {
              "code": "string",
              "category": "soft",
              "retryable": true
            },
            "metadata": {
              "property1": "string",
              "property2": "string"
            },
            "createdAt": "2019-08-24T14:15:22Z",
            "updatedAt": "2019-08-24T14:15:22Z",
            "succeededAt": "2019-08-24T14:15:22Z"
          }
        ],
        "refunds": [
          {
            "refundId": "string",
            "paymentId": "string",
            "postPurchaseId": "string",
            "amount": {
              "amount": 99999999,
              "currency": "EUR"
            },
            "amountVoided": {
              "amount": 99999999,
              "currency": "EUR"
            },
            "status": "pending",
            "reason": "requested_by_customer",
            "source": "api",
            "subscriptionCancelled": true,
            "failure": {
              "code": "string"
            },
            "createdAt": "2019-08-24T14:15:22Z",
            "finalizedAt": "2019-08-24T14:15:22Z"
          }
        ],
        "metadata": {
          "property1": "string",
          "property2": "string"
        },
        "sourcePaymentId": "string",
        "cardTokenId": "string",
        "renewalRetry": {
          "billingCycleRef": "string",
          "attempt": -9007199254740991,
          "mode": "orchestrator",
          "nextAttemptAt": "2019-08-24T14:15:22Z",
          "nextAttempt": {
            "number": -9007199254740991,
            "amount": {
              "amount": 99999999,
              "currency": "EUR"
            }
          },
          "holdReducedPrice": true
        },
        "version": -9007199254740991,
        "createdAt": "2019-08-24T14:15:22Z",
        "updatedAt": "2019-08-24T14:15:22Z",
        "succeededAt": "2019-08-24T14:15:22Z",
        "customerData": {
          "customer": {
            "email": "string",
            "firstName": "string",
            "lastName": "string",
            "phone": "string"
          },
          "billingAddress": {
            "line1": "string",
            "line2": "string",
            "postalCode": "string",
            "city": "string",
            "country": "string"
          },
          "shippingAddress": {
            "line1": "string",
            "line2": "string",
            "postalCode": "string",
            "city": "string",
            "country": "string",
            "firstName": "string",
            "lastName": "string"
          }
        }
      },
      "refund": {
        "refundId": "string",
        "paymentId": "string",
        "postPurchaseId": "string",
        "amount": {
          "amount": 99999999,
          "currency": "EUR"
        },
        "amountVoided": {
          "amount": 99999999,
          "currency": "EUR"
        },
        "status": "pending",
        "reason": "requested_by_customer",
        "source": "api",
        "subscriptionCancelled": true,
        "failure": {
          "code": "string"
        },
        "createdAt": "2019-08-24T14:15:22Z",
        "finalizedAt": "2019-08-24T14:15:22Z"
      }
    }
  }
}
```

## Responses

### 200

Received (any 2xx). Any other answer, a timeout or a redirection is retried.


Source: https://docs.recette.maeck.xyz/api/webhooks/payment.refunded/index.md
