Events
Events supported by callback
Checkout order created
Event raised when a checkout order has been created.
IsPending field returns true/false , indicates whether the Order is waiting to be Approved by Svea.
{
"EventName": "CheckoutOrder.Created",
"CheckoutOrderId": 9201634,
"IsPending": false,
"CorrelationId": "61e8c2e2-b824-449d-ab20-7518db9f4ec8",
"TimestampUtc": "2024-06-04T09:49:22.0005285Z"
}
Checkout order delivered
Event raised when a checkout order is partially delivered or delivered in full.
{
"EventName": "CheckoutOrder.Delivered",
"CheckoutOrderId": 9201634,
"DeliveryId": 123456789,
"CorrelationId": "61e8c2e2-b824-449d-ab20-7518db9f4ec8",
"TimestampUtc": "2024-06-04T09:49:22.0005285Z"
}
Checkout order credit succeeded
Event raised when a checkout order is successfully credited
{
"EventName": "CheckoutOrder.CreditSucceeded",
"CheckoutOrderId": 9201634,
"CreditId": 123456789,
"CorrelationId": "61e8c2e2-b824-449d-ab20-7518db9f4ec8",
"TimestampUtc": "2024-06-04T09:49:22.0005285Z"
}
Checkout order credit failed
Event raised when an accepted credit operation fails.
{
"EventName": "CheckoutOrder.CreditFailed",
"CheckoutOrderId": 9201634,
"CreditId": 123456789,
"CorrelationId": "61e8c2e2-b824-449d-ab20-7518db9f4ec8",
"TimestampUtc": "2024-06-04T09:49:22.0005285Z"
}
Checkout order closed
Event raised when a checkout order is closed. The reason for closing the order is provided in the event body when due to explicit operation, valid close reasons are ‘Cancelled’ and ‘Expired’.
{
"EventName": "CheckoutOrder.Closed",
"CheckoutOrderId": 9201634,
"CloseReason": "Reason for closing",
"CorrelationId": "61e8c2e2-b824-449d-ab20-7518db9f4ec8",
"TimestampUtc": "2024-06-04T09:49:22.0005285Z",
}
Checkout order updated
Event triggered for when an order is edited or when an explicit order sync is performed. It is recommended to implement this event for full order sync via API order GET.
{
"EventName": "CheckoutOrder.Updated",
"CheckoutOrderId": 9201634,
"CorrelationId": "61e8c2e2-b824-449d-ab20-7518db9f4ec8",
"TimestampUtc": "2024-06-04T09:49:22.0005285Z"
}
Checkout order pending released
Event triggered when an order is Approved by Svea from Pending status.
{
"EventName": "CheckoutOrder.PendingStatusReleased",
"CheckoutOrderId": 9201634,
"CorrelationId": "61e8c2e2-b824-449d-ab20-7518db9f4ec8",
"TimestampUtc": "2024-06-04T09:49:22.0005285Z"
}
Checkout order finalized
Refer to Checkout merchant push to track Order finalised event.