Webhook-Event
- POSTTest
- POSTOrder Created
- POSTOrder Updated
- POSTMerchant Updated
- POSTRefund Succeeded
- POSTRefund Failed
- POSTUser Payout Initiated
- POSTUser Payout Paid
- POSTUser Payout Failed
- POSTPayout Report Requested
- POSTData Session Completed
- POSTCheckout Session Created
- POSTCheckout Session Updated
- POSTCheckout Session Expired
- POSTCheckout Session Completed
- POSTPayout Created
- POSTPayout Updated
- POSTMandate Setup Started
- POSTMandate Setup Succeeded
- POSTMandate Setup Failed
- POSTMandate Revoked
Webhook-Event
Checkout Session Updated
A checkout session has been updated
POST
/
api
/
service
/
webhook-event
/
checkout-session-updated
Copy
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
Copy
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"
}
}'
Assistant
Responses are generated using AI and may contain mistakes.