POST
/
api
/
service
/
webhook-event
/
checkout-session-updated
curl --request POST \
  --url https://{yourDomain}/api/service/webhook-event/checkout-session-updated \
  --header 'Content-Type: application/json' \
  --data '{
  "id": "<string>",
  "type": "checkout_session_updated",
  "date": "<string>",
  "payload": {
    "id": "<string>",
    "market": "AF",
    "availableMarkets": [
      "AF"
    ],
    "express": true,
    "paymentMode": "direct",
    "handshake": true,
    "guest": true,
    "disableBankSelection": true,
    "price": {
      "total": 1.01,
      "currency": "EUR",
      "subTotal": 123,
      "shipping": 123,
      "totalNet": 123,
      "vat": 123
    },
    "appId": "<string>",
    "merchantAppId": "<string>",
    "merchant": {
      "id": "<string>",
      "appId": "<string>",
      "address": {
        "firstName": "<string>",
        "lastName": "<string>",
        "line1": "<string>",
        "line2": "<string>",
        "region": "<string>",
        "city": "<string>",
        "zipCode": "<string>",
        "country": "AF"
      },
      "legalName": "<string>"
    },
    "lineItems": [
      {
        "name": "<string>",
        "referenceId": "<string>",
        "singleNet": 123,
        "singleVat": 123,
        "amount": 123,
        "quantity": 1,
        "image": "<string>",
        "category": "5045",
        "EAN": "<string>",
        "co2Grams": 1
      }
    ],
    "plugin": "<string>",
    "prefill": "<any>",
    "locale": "de",
    "required": {
      "phone": true
    },
    "offsetProject": "<string>",
    "expiresAt": 123,
    "created": 123,
    "impactOffsetProjects": [
      "<string>"
    ],
    "shopLogo": "<string>",
    "shopName": "<string>",
    "customer": {
      "id": "<string>"
    },
    "incentiveMode": "<string>",
    "shippingMethods": [
      "<any>"
    ],
    "selectedShippingMethodId": "<string>",
    "status": "open",
    "mandate": {
      "setup": false
    },
    "referenceId": "<string>",
    "displayId": "<string>",
    "metadata": {},
    "category": "<string>",
    "abortReason": "<string>",
    "billingAddress": {
      "firstName": "<string>",
      "lastName": "<string>",
      "line1": "<string>",
      "line2": "<string>",
      "region": "<string>",
      "city": "<string>",
      "zipCode": "<string>",
      "country": "AF"
    },
    "shippingAddress": {
      "firstName": "<string>",
      "lastName": "<string>",
      "line1": "<string>",
      "line2": "<string>",
      "region": "<string>",
      "city": "<string>",
      "zipCode": "<string>",
      "country": "AF"
    },
    "redirectUrl": "<string>",
    "successCallbackUrl": "<string>",
    "errorCallbackUrl": "<string>",
    "quoteCallbackUrl": "<string>",
    "completeCallbackUrl": "<string>",
    "createdAt": "<any>",
    "updatedAt": "<any>",
    "subaccountId": "<string>",
    "paymentSchemeSelection": "instant_preferred"
  }
}'

Body

application/json

Data of the webhook event

The body is of type object.

Response

200

OK