Skip to main content

Callback/Webhook

Introduction

Svea Payments supports callback events via webhooks. Webhooks allows the client to set a callback URL on which the client will receive a POST request containing event data relating to a specific system event or API request.

An event may be raised as the outcome of a specific operation initiated by a client via Payment Admin external API, but also for operations that are not initiated via this specific endpoint. An example of this are events raised on order creation via Svea Checkout.

URL requirements

  • Webhook URLs must accept HTTPS connections using TLS v1.2 or higher.
  • Webhook URLs must accept POST requests.
  • Webhook URLs must accept media type “application/json”.
  • Webhook URLs must indicate successful reception of event by returning 2xx response.

Information about configuring Callbacks can be found here