POST
/
webhook-event
/
order-updated
curl --request POST \
  --url https://{yourDomain}/webhook-event/order-updated \
  --header 'Content-Type: application/json' \
  --data '{
  "id": "<string>",
  "type": "test",
  "date": "<string>",
  "payload": {
    "id": "<string>",
    "payerFinancialAddress": {
      "type": "<string>",
      "iban": {
        "iban": "<string>",
        "bic": "<string>",
        "accountHolderName": "<string>"
      },
      "sortCode": {
        "sortCode": "<string>",
        "accountNumber": "<string>",
        "accountHolderName": "<string>"
      },
      "bankCode": {
        "code": "<string>",
        "accountNumber": "<string>",
        "accountHolderName": "<string>"
      },
      "bban": {
        "bban": "<string>",
        "accountHolderName": "<string>",
        "bic": "<string>"
      }
    },
    "merchantId": "<string>",
    "appId": "<string>",
    "merchantAppId": "<string>",
    "shopperEmail": "<string>",
    "shopper": {
      "email": "<string>",
      "phoneNumber": "<string>"
    },
    "shopName": "<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"
    },
    "referenceId": "<string>",
    "metadata": {},
    "category": "<string>",
    "applicationFeeAmount": 123,
    "price": {
      "total": 123,
      "currency": "EUR",
      "subTotal": 123,
      "shipping": 123,
      "totalNet": 123,
      "vat": 123
    },
    "co2Grams": 123,
    "trees": 123,
    "lineItems": [
      {
        "name": "<string>",
        "referenceId": "<string>",
        "singleNet": 123,
        "singleVat": 123,
        "amount": 123,
        "quantity": 123,
        "image": "<string>",
        "category": "<string>",
        "EAN": "<string>"
      }
    ],
    "shopLogo": "<string>",
    "incentiveMode": "white_label",
    "guest": true,
    "climateActionMode": {
      "type": "transaction",
      "amount": 123
    },
    "impactOffsetProjects": [
      "<string>"
    ],
    "shippingMethod": {
      "id": "<string>",
      "price": 123,
      "name": "<string>",
      "countries": [
        "AF"
      ],
      "reference": "<string>",
      "timeFrame": "<string>",
      "deliveryEstimate": {
        "minimum": {
          "unit": "hour",
          "value": 123
        },
        "maximum": {
          "unit": "hour",
          "value": 123
        }
      }
    },
    "paymentStatus": "failed",
    "status": "failed",
    "refunds": [
      {
        "id": "<string>",
        "description": "<string>",
        "referenceId": "<string>",
        "amount": 123,
        "status": "pending",
        "createdAt": "2023-11-07T05:31:56Z",
        "updatedAt": "2023-11-07T05:31:56Z"
      }
    ],
    "refundAmount": 123,
    "offsetProject": "<string>",
    "displayId": "<string>",
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z",
    "merchantFinancialAddress": {
      "type": "<string>",
      "iban": {
        "iban": "<string>",
        "bic": "<string>",
        "accountHolderName": "<string>"
      },
      "sortCode": {
        "sortCode": "<string>",
        "accountNumber": "<string>",
        "accountHolderName": "<string>"
      },
      "bankCode": {
        "code": "<string>",
        "accountNumber": "<string>",
        "accountHolderName": "<string>"
      },
      "bban": {
        "bban": "<string>",
        "accountHolderName": "<string>",
        "bic": "<string>"
      },
      "paymentReference": "<string>"
    },
    "bankStatementReference": "<string>",
    "statusHistoryList": [
      {
        "previousStatus": "failed",
        "currentStatus": "failed",
        "reason": "<string>",
        "updatedAt": "2023-11-07T05:31:56Z"
      }
    ],
    "paymentMethodType": "sepa_debit",
    "mandate": {
      "setup": false,
      "referenceId": "<string>",
      "accountHolderName": "<string>",
      "userNotificationEmail": "<string>",
      "additionalDisplayInformation": {
        "price": {
          "amount": 123,
          "currency": "EUR"
        },
        "cadence": "BI_WEEKLY"
      },
      "reference": "<string>",
      "creditor": {
        "name": "<string>",
        "id": "<string>"
      }
    },
    "subaccountId": "<string>",
    "instantPaymentScheme": true,
    "statusClassification": {
      "primary": "<string>",
      "secondary": "<string>"
    },
    "subaccountLegalName": "<string>",
    "paymentMode": "settlement",
    "customerId": "<string>",
    "bankId": "<string>"
  }
}'

Body

application/json
Data of the webhook event
id
string
required

The unique id for the webhook.

type
enum<string>
required

The type of the webhook.

Available options:
test,
merchant_updated,
merchant_app_updated,
order_created,
order_updated,
refund_succeeded,
refund_failed,
payout_report_requested,
data_session_completed,
checkout_session_created,
checkout_session_updated,
checkout_session_expired,
checkout_session_completed,
payout_created,
payout_updated,
mandate_setup_started,
mandate_setup_succeeded,
mandate_setup_failed,
mandate_revoked,
user_payout.failed,
user_payout.paid,
user_payout.initiated
date
string
required

The date of the webhook.

payload
object
required

The payload is the order that was updated.

Response

200

OK