Triggered when an order's payment status is updated to "PAID"
.
Unique event ID. Allows clients to ignore duplicate webhooks.
Fully qualified domain name of the entity associated with the event. Expected wix.ecom.v1.order
.
Event name. Expected payment_status_updated
.
ID of the entity associated with the event.
Event timestamp.
Whether the event was triggered as a result of a privacy regulation application (for example, GDPR).
If present, indicates the action that triggered the event.
Event information.
The data payload will include the following as an encoded JWT:
{
"data": {
"eventType": "wix.ecom.v1.order_payment_status_updated",
"instanceId": "<app-instance-id>",
"data": "<stringified-JSON>",
// The identity field is sent as a stringified JSON
"identity": {
"identityType": "<identityType>", // ANONYMOUS_VISITOR, MEMBER, WIX_USER, APP
"anonymousVisitorId": "<anonymousVisitorId>", // in case of ANONYMOUS_VISITOR
"memberId": "<memberId>", // in case of MEMBER
"wixUserId": "<wixUserId>", // in case of WIX_USER
"appId": "<appId>" // in case of APP
}
}
}
{
"id": "03756f6a-62c6-4f85-8356-b171adb7e4f3",
"slug": "payment_status_updated",
"entityId": "880fa895-dfd5-4d50-a2d4-971b03fd4b86",
"entityFqdn": "wix.ecom.v1.order",
"eventTime": "2022-12-21T13:37:43.471496Z",
"actionEvent": {
"body": {
"order": {
"number": "10002",
"additionalFees": [],
"cartId": "866a0cf8-d7ec-4ec5-b20f-08cf33d8ad74",
"lineItems": [
{
"physicalProperties": {
"sku": "364115376135191",
"shippable": true
},
"quantity": 1,
"paymentOption": "FULL_PAYMENT_ONLINE",
"image": {
"id": "3c76e2_c5331f937348492a97df87b0a3b34ea4~mv2.jpg",
"url": "https://static.wixstatic.com/media/3c76e2_c5331f937348492a97df87b0a3b34ea4~mv2.jpg/v1/fit/w_1000,h_1000,q_90/file.jpg",
"height": 1000,
"width": 1000
},
"price": {
"amount": "10.00",
"formattedAmount": "$10.00"
},
"totalPriceBeforeTax": {
"amount": "0.00",
"formattedAmount": "$0.00"
},
"totalPriceAfterTax": {
"amount": "0.00",
"formattedAmount": "$0.00"
},
"priceBeforeDiscounts": {
"amount": "10.00",
"formattedAmount": "$10.00"
},
"totalDiscount": {
"amount": "10.0",
"formattedAmount": "$10.00"
},
"id": "00000000-0000-0000-0000-000000000001",
"itemType": {
"preset": "PHYSICAL"
},
"taxDetails": {
"taxableAmount": {
"amount": "0.0",
"formattedAmount": "$0.00"
},
"taxRate": "0.0",
"totalTax": {
"amount": "0.0",
"formattedAmount": "$0.00"
}
},
"productName": {
"original": "Shirt",
"translated": "Shirt"
},
"descriptionLines": [],
"catalogReference": {
"catalogItemId": "c8539b66-7a44-fe18-affc-afec4be8562a",
"appId": "215238eb-22a5-4c36-9e7b-e7c08025e04e",
"options": {
"options": {},
"variantId": "00000000-0000-0000-0000-000000000000"
}
},
"refundQuantity": 0
}
],
"paymentStatus": "PAID",
"archived": false,
"seenByAHuman": true,
"shippingInfo": {
"code": "ed5bbce2-9533-dff4-7db0-13702fd139c5",
"cost": {
"price": {
"amount": "10",
"formattedAmount": "$10.00"
},
"totalPriceBeforeTax": {
"amount": "10",
"formattedAmount": "$10.00"
},
"totalPriceAfterTax": {
"amount": "10.0",
"formattedAmount": "$10.00"
},
"taxDetails": {
"taxRate": "0.0",
"totalTax": {
"amount": "0.0",
"formattedAmount": "$0.00"
}
},
"discount": {
"amount": "0",
"formattedAmount": "$0.00"
}
},
"logistics": {
"deliveryTime": "",
"shippingDestination": {
"address": {
"city": "New York",
"countryFullname": "United States",
"subdivisionFullname": "New York",
"addressLine": "525 5th Avenue",
"country": "US",
"postalCode": "10173",
"subdivision": "US-NY"
},
"contactDetails": {
"firstName": "Jane",
"lastName": "Doe",
"phone": "0555555555"
}
}
},
"carrierId": "c8a08776-c095-4dec-8553-8f9698d86adc",
"region": {
"name": "USA shipping"
},
"title": "Standard US Shipping"
},
"activities": [
{
"createdDate": "2022-12-21T13:30:36.798Z",
"type": "ORDER_PLACED"
}
],
"appliedDiscounts": [
{
"discountType": "SPECIFIC_ITEMS",
"lineItemIds": ["00000000-0000-0000-0000-000000000001"],
"coupon": {
"id": "fbb94b06-7447-4161-9c48-59bfcdc39e77",
"code": "SUMMERSALE10",
"name": "SUMMERSALE10",
"amount": {
"amount": "10.0",
"formattedAmount": "$10.00"
}
}
}
],
"customFields": [],
"taxIncludedInPrices": false,
"attributionSource": "UNSPECIFIED",
"weightUnit": "KG",
"priceSummary": {
"totalAdditionalFees": {
"amount": "0",
"formattedAmount": "$0.00"
},
"tax": {
"amount": "0.0",
"formattedAmount": "$0.00"
},
"total": {
"amount": "10.00",
"formattedAmount": "$10.00"
},
"subtotal": {
"amount": "10.00",
"formattedAmount": "$10.00"
},
"discount": {
"amount": "10.0",
"formattedAmount": "$10.00"
},
"shipping": {
"amount": "10.0",
"formattedAmount": "$10.00"
}
},
"id": "880fa895-dfd5-4d50-a2d4-971b03fd4b86",
"status": "APPROVED",
"billingInfo": {
"address": {
"city": "New York",
"countryFullname": "United States",
"subdivisionFullname": "New York",
"addressLine": "525 5th Avenue",
"country": "US",
"postalCode": "10173",
"subdivision": "US-NY"
},
"contactDetails": {
"firstName": "Jane",
"lastName": "Doe",
"phone": "0555555555"
}
},
"buyerInfo": {
"contactId": "24de6f0b-60ce-4faa-9138-2e39f1415615",
"email": "janedoe@gmail.com",
"visitorId": "4c7ce95c-9fb3-417d-9f02-b41e82b841f7"
},
"payNow": {
"tax": {
"amount": "0.0",
"formattedAmount": "$0.00"
},
"total": {
"amount": "10.00",
"formattedAmount": "$10.00"
},
"subtotal": {
"amount": "10.00",
"formattedAmount": "$10.00"
},
"discount": {
"amount": "10.0",
"formattedAmount": "$10.00"
},
"shipping": {
"amount": "10.0",
"formattedAmount": "$10.00"
}
},
"createdBy": {
"visitorId": "4c7ce95c-9fb3-417d-9f02-b41e82b841f7"
},
"taxSummary": {
"totalTax": {
"amount": "0.0",
"formattedAmount": "$0.00"
}
},
"currency": "USD",
"balanceSummary": {
"balance": {
"amount": "0.00",
"formattedAmount": "$0.00"
}
},
"updatedDate": "2022-12-21T13:37:43.380Z",
"checkoutId": "6f1204d5-3923-4709-869e-51680a1b5530",
"buyerLanguage": "en",
"channelInfo": {
"type": "WEB"
},
"fulfillmentStatus": "NOT_FULFILLED",
"createdDate": "2022-12-21T13:30:36.798Z"
},
"previousPaymentStatus": "NOT_PAID"
}
},
"triggeredByAnonymizeRequest": false
}