---
title: "Événement apple_pay_certificate.expiring"
---

> 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 apple_pay_certificate.expiring

Path: API de l'orchestrateur de paiement

`POST apple_pay_certificate.expiring`

_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` (`apple_pay_certificate.expiring.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` (`apple_pay_certificate.expiring.header.Webhook-Id`; string, required) — Id of the event (body id), the key of deduplication.
  - pattern: `^evt_[0-9a-f]{32}$`
- `Webhook-Event-Type` (`apple_pay_certificate.expiring.header.Webhook-Event-Type`; string, required)
  - one of `"apple_pay_certificate.expiring"`
- `Idempotency-Key` (`apple_pay_certificate.expiring.header.Idempotency-Key`; string, required) — The event id, as Webhook-Id.
  - pattern: `^evt_[0-9a-f]{32}$`
- `Webhook-Token` (`apple_pay_certificate.expiring.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` (`apple_pay_certificate.expiring.id`; string, required)
  - pattern: `^evt_[0-9a-f]{32}$`
- `type` (`apple_pay_certificate.expiring.type`; string, required)
  - one of `"apple_pay_certificate.expiring"`
- `apiVersion` (`apple_pay_certificate.expiring.apiVersion`; string, required)
  - one of `"2026-10-22"`
- `createdAt` (`apple_pay_certificate.expiring.createdAt`; string, required)
  - format: `date-time`
- `testMode` (`apple_pay_certificate.expiring.testMode`; boolean, required)
- `data` (`apple_pay_certificate.expiring.data`; object, required)
  - `object` (`apple_pay_certificate.expiring.data.object`; object, required)
    - `certificateId` (`apple_pay_certificate.expiring.data.object.certificateId`; string, required)
    - `merchantIdentifier` (`apple_pay_certificate.expiring.data.object.merchantIdentifier`; string, required)
    - `status` (`apple_pay_certificate.expiring.data.object.status`; string, required)
      - one of `"requested"`, `"awaiting_certificates"`, `"active"`, `"retired"`
    - `processingNotAfter` (`apple_pay_certificate.expiring.data.object.processingNotAfter`; any of, required)
      - any of the following: `string`, `null`
    - `identityNotAfter` (`apple_pay_certificate.expiring.data.object.identityNotAfter`; any of, required)
      - any of the following: `string`, `null`
    - `expiresAt` (`apple_pay_certificate.expiring.data.object.expiresAt`; any of, required)
      - any of the following: `string`, `null`
    - `expired` (`apple_pay_certificate.expiring.data.object.expired`; boolean, required)
    - `domainAssociation` (`apple_pay_certificate.expiring.data.object.domainAssociation`; string | null, required)
    - `createdAt` (`apple_pay_certificate.expiring.data.object.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))$`
    - `activatedAt` (`apple_pay_certificate.expiring.data.object.activatedAt`; any of, required)
      - any of the following: `string`, `null`
    - `retiredAt` (`apple_pay_certificate.expiring.data.object.retiredAt`; any of, required)
      - any of the following: `string`, `null`

## Example request

```json
{
  "id": "string",
  "type": "apple_pay_certificate.expiring",
  "apiVersion": "2026-10-22",
  "createdAt": "2019-08-24T14:15:22Z",
  "testMode": true,
  "data": {
    "object": {
      "certificateId": "string",
      "merchantIdentifier": "string",
      "status": "requested",
      "processingNotAfter": "2019-08-24T14:15:22Z",
      "identityNotAfter": "2019-08-24T14:15:22Z",
      "expiresAt": "2019-08-24T14:15:22Z",
      "expired": true,
      "domainAssociation": "string",
      "createdAt": "2019-08-24T14:15:22Z",
      "activatedAt": "2019-08-24T14:15:22Z",
      "retiredAt": "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/apple_pay_certificate.expiring/index.md
