Skip to main content

Order Notifications

You can receive notifications whenever your order status changes. See the details of the order processing here.

Event list

Below is a list of order-related notifications which you can subscribe to:

  • Order Created type=created
  • Order Payment Failed type=paymentFailed Usually caused by an internal technical issue
  • Order Payment Refused type=paymentRefused By a payment gateway or bank
  • Order Completed type=completed
  • Order Completed With Error type=partiallyCompleted
  • Order Fulfillment Failed type=fulfillmentFailed
  • Order Cancelled type=canceled
  • Order Aborted type=aborted
  • Subscription Order Renew Completed type=renewCompleted
  • Prebilling Order Created type=prebillingStarted
  • Offer Prebilling Started type=prebillingStarted Same as Prebilling Order Created, but triggered if a prebilling order with source OFFER already exists
note

Order related notifications listed above don't include subscription details.

The following notifications include details about the subscription. Although, subscriptions are a separate domain with their own set of events.:

  • Order Completed With Content Including Subscription Data type=completed
  • Order Canceled With Content Including Subscription Data type=canceled

List of fields

FieldTypeDescriptionR/O
subjectstringorderR
typestringEvent type — see Event listR
objectIdstringOrder identifierR
eventDatestring (date-time)ISO 8601 timestampR
orderorder.OrderR
→ cancellationDatestring (date-time)Cancellation timestamp in ISO 8601 formatO
→ cancellationReasonstringReason for order cancellationO
→ cartIdstringAssociated cart identifierO
→ consentFlagsorder.ConsentFlagsR
— → newsletterOptinbooleanMarketing newsletter consent indicatorR
→ creationDatestring (date-time)Order creation date in ISO 8601 formatR
→ currencystringCurrency code, e.g. EUR, USDR
→ customerorder.CustomerR
— → customerAccountstringRealm/account nameR
— → idstringCustomer identifierR
— → namestringO
— → serveurstringO
→ decodedExternalContextobjectDecoded cart parametersO
→ externalContextstringBase64 encoded string of cart parametersO
→ idstringOrder identifierR
→ itemsorder.LineItem[]Order line itemsR
— → activationCodestringProduct activation codeO
— → discountPlanorder.DiscountPlanO
— — → discountStepinteger (int32)Step in the discount planR
— — → ignorePurchaseDiscountbooleanWhether to ignore discount on the initial purchaseO
— — → tagstringPlan designation tagR
— → discountRatenumber (double)Discount rate appliedO
— → expirationDatestring (date-time)Product expiration timestamp in ISO 8601 formatO
— → externalContextstringExternal context dataR
— → fulfillmentIdstringFulfillment process identifierO
— → idstringUnique line item identifierR
— → isUpsellbooleanUpsell status markerO
— → lineItemIdstringLine item identifierR
— → pricingorder.PricingR
— — → allDiscountsAppliedcom.nx.notification.externalapi.DiscountApplied[]All discounts applied to this itemO
— — — → discountAmountnumber (double)Discount valueR
— — — → discountCodestringCustomer-facing discount codeO
— — — → discountIdstringMonetize discount identifierR
— — — → discountRatenumber (double)Discount percentage, e.g. 0.2 for 20%O
— — → cumulatedDiscountRatenumber (double)Total cumulated discount percentageO
— — → unitPriceExclVATnumber (double)Pre-tax unit costR
— — → unitPriceIncVATnumber (double)Post-tax unit costR
— — → vatAmountnumber (double)Tax amountO
— — → VATRatenumber (double)Tax rate percentageR
— → priorityinteger (int32)Line item priorityO
— → productorder.ProductR
— — → namestringProduct nameR
— — → publisherReferencestringPublisher's internal product identifierO
— — → uniqueReferencestringUnique product identifier on the Nexway Monetize platformR
— → publisherFulfillmentIdstringPublisher fulfillment identifierO
— → quantityinteger (int32)Product quantityR
— → subItemsorder.SubItem[]Nested line itemsO
— — → activationCodestringO
— — → externalContextstringO
— — → fulfillmentIdstringO
— — → idstringO
— — → productorder.ProductO
— — — → namestringProduct nameR
— — — → publisherReferencestringPublisher's internal product identifierO
— — — → uniqueReferencestringUnique product identifier on the Nexway Monetize platformR
— — → publisherFulfillmentIdstringO
— → subscriptionsubscription.SubscriptionO
— — → createDatestring (date-time)Creation date in ISO 8601 formatR
— — → discountPlansubscription.DiscountPlanO
— — — → nextDiscountStepinteger (int32)Calculated next discount step valueR
— — — → startingStepinteger (int32)Starting stepO
— — — → tagstringPlan identifierR
— — → enduserIdstringEnd-user UUIDR
— — → idstringSubscription UUIDR
— — → lifecyclesubscription.LifeCycleR
— — — → anniversaryDatestring (date-time)Renewal/expiration date in ISO 8601 formatR
— — — → generationinteger (int32)Renewal generation (term number)R
— — — → idstringBack-office subscription identifier (deprecated)O
— — — → statusstringStatus: Active, Suspended, Dunning, Canceled, ExpiredR
— — → modelIdstringModel identifier, e.g. NEXWAY_1YR
— — → namestringProduct nameO
— — → paymentMethodIsNoLongerReplayablebooleanWhether the payment method is no longer replayableO
— — → paymentMethodIsNoLongerReplayableReasonstringReason why the payment method is no longer replayableO
— — → productssubscription.Product[]Associated productsR
— — — → idstringProduct UUIDR
— — — → licenseIdstringLicense identifierO
— — — → lineItemIdstringOrder line item UUIDR
— — → sourcestringSubscription sourceO
— — → storeIdstringStore UUIDR
— → subscriptionIdstringAssociated subscription identifierO
— → trialbooleanTrial status indicatorR
— → trialDurationinteger (int32)Trial duration in daysO
— → unitPriceExclVATnumber (double)Unit price excluding taxR
— → unitPriceIncVATnumber (double)Unit price including taxR
— → VATRatenumber (double)Applied sales tax rateR
→ offerSubSourcestringSub-source designation, e.g. SUSPEND, RESUMEO
→ paymentorder.PaymentO
— → amountnumber (double)Payment amountO
— → automaticBillingbooleanWhether the payment was automatically chargedR
— → externalContextstringExternal context dataO
— → idstringPayment identifierR
— → lastErrororder.LastPaymentErrorO
— — → codestringError codeR
— — → messagestringError descriptionO
— → methodstringPayment method, e.g. visa, mastercard, sepa, pix, boletoO
— → silentOnFailurebooleanWhether to suppress failure notificationsO
— → statusstringPayment status: COMPLETED, FAILEDR
— → transitionPaymentDatestring (date-time)Transaction timestamp in ISO 8601 formatR
→ paymentsorder.Payment[]All payment attemptsO
— → amountnumber (double)Payment amountO
— → automaticBillingbooleanWhether the payment was automatically chargedR
— → externalContextstringExternal context dataO
— → idstringPayment identifierR
— → lastErrororder.LastPaymentErrorO
— — → codestringError codeR
— — → messagestringError descriptionO
— → methodstringPayment method, e.g. visa, mastercard, sepa, pix, boletoO
— → silentOnFailurebooleanWhether to suppress failure notificationsO
— → statusstringPayment status: COMPLETED, FAILEDR
— → transitionPaymentDatestring (date-time)Transaction timestamp in ISO 8601 formatR
→ refundorder.RefundO
— → lineItemsorder.RefundDetails[]O
— — → initialAmountnumber (double)O
— — → productIdstringO
— — → productNamestringO
— — → rationumber (double)O
— — → refundAmountnumber (double)O
— — → refundMethodstringO
— → totalAmountRefundednumber (double)O
→ salesFlagstring[]Sales flagsO
→ sourcestringOrder origin: PURCHASE, SUBSCRIPTION, OFFER, MANUAL_RENEWALR
→ statusstringCurrent order statusR
→ storeorder.StoreR
— → idstringStore identifierR
→ totalPriceExclVATnumber (double)Total price excluding sales taxR
→ totalPriceIncVATnumber (double)Total price including sales taxR
→ userorder.EndUserR
— → citystringCityO
— → companyNamestringCompany nameO
— → companyRegistrationNumberstringCompany registration numberO
— → countrystringAlpha-3 country codeR
— → emailstringBuyer email addressR
— → firstNamestringFirst nameO
— → idstringBuyer identifierR
— → languagestringAlpha-2 language codeO
— → lastNamestringLast nameO
— → regionstringRegionO
— → streetstringStreet addressO
— → zipcodestringPostal codeO

If you need to get additional data, which is not available in the event, please refer to the REST API methods to get order or other entities.

Example

{
"subject" : "order",
"type" : "completed",
"objectId" : "42WRNTVCTVJ",
"eventDate" : "2025-02-07T07:00:20Z",
"order" : {
"id" : "42WRNTVCTVJ",
"status" : "COMPLETED",
"source" : "PURCHASE",
"creationDate" : "2025-02-07T07:00:00Z",
"payment" : {
"id" : "42WRNTVCTVJ0",
"method" : "visa",
"amount" : 55.0,
"status" : "COMPLETED",
"transitionPaymentDate" : "2025-02-07T07:00:08Z",
"automaticBilling" : false
},
"payments" : [ {
"id" : "42WRNTVCTVJ0",
"method" : "visa",
"amount" : 55.0,
"status" : "COMPLETED",
"transitionPaymentDate" : "2025-02-07T07:00:08Z",
"automaticBilling" : false
} ],
"currency" : "AUD",
"totalPriceIncVAT" : 55.0,
"totalPriceExclVAT" : 50.0,
"externalContext" : "e30=",
"decodedExternalContext" : { },
"salesFlag" : [ ],
"consentFlags" : {
"newsletterOptin" : false
},
"user" : {
"id" : "b8dccf29-6f3b-4551-8ebf-98d3ef47f40a",
"email" : "[email protected]",
"firstName" : "Billy",
"lastName" : "Joe",
"language" : "en",
"country" : "AUS",
"zipcode" : "3249",
"city" : "Gerangamete"
},
"items" : [ {
"id" : "f4fc4d98-30f1-427e-9953-6a6966654d71",
"product" : {
"name" : "Acme Standard",
"uniqueReference" : "a7c55bec-b1b1-401e-b6cb-d6121ca1f66b",
"publisherReference" : "ACME_XYZ"
},
"quantity" : 1,
"expirationDate" : "2026-05-07T06:59:54Z",
"unitPriceExclVAT" : 50.0,
"unitPriceIncVAT" : 55.0,
"trial" : false,
"trialDuration" : 7,
"subscriptionId" : "c37570f9-ebc3-4817-8da6-a77339224739",
"fulfillmentId" : "6c0edf3e-b73e-46b7-944b-f424708d5b2f",
"activationCode" : "XXXX-YYYY-ZZZZ-JSJSK",
"subscription" : {
"id" : "c37570f9-ebc3-4817-8da6-a77339224739",
"createDate" : "2025-02-07T07:00:10Z",
"modelId" : "NEXWAY_1Y",
"name" : "Acme Standard",
"storeId" : "59409482-9719-4d76-97ad-c679acc7d14a",
"lifecycle" : {
"id" : "9141850",
"anniversaryDate" : "2026-05-07T06:59:54Z"
},
"products" : [ {
"id" : "a7c55bec-b1b1-401e-b6cb-d6121ca1f66b",
"lineItemId" : "93c9b6a3-e33e-4b88-bb1b-75134f23e298"
} ]
},
"subItems" : [ ],
"discountPlan" : {
"tag" : "newtyptag",
"discountStep" : 0,
"ignorePurchaseDiscount" : false
},
"VATRate" : 0.1,
"isUpsell" : true
} ]
}
}