Skip to main content

Webhooks for orders

These webhooks are related to the order creation and order management flows.

Events​

walley:order:created​

This webhook is triggered whenever an order is created. This can happen because a customer completed a checkout session, or because an authorization using the tokenized flow was successful, or an AddInvoice was successful in the Payment API.

{
"Type": "walley:order:created",
"Timestamp": "2024-01-30T11:02:42.5997621+01:00",
"Payload": {
"OrderId": "45e0832b-0b32-43e4-99b2-b10700a58a04",
"Amount": 30,
"Currency": "SEK",
"Status": "Authorized",
"AuthorizationId": "c31e9218-6a19-4b2f-8992-affc9dca1c41",
"CustomerToken": "0a96881b-295a-4154-a867-865fc912619c"
}
}

The Status property can have the different states

  • OnHold
  • Authorized
  • Captured
  • RequiresSigning
  • RequiresIdentityCheck

walley:order:authorized​

TBD

walley:order:expired​

TBD

walley:order:reauthorized​

TBD

walley:order:extended​

TBD

walley:order:captured​

TBD

walley:order:canceled​

TBD

walley:order:rejected​

TBD