API Reference

When a payment receives a final status (COMPLETED, DECLINED or CANCELLED), our system sends a webhook.
To receive webhooks, specify "Webhook Url" in the shop settings or add the "webhookUrl" parameter in the "createPayment" request. The request parameter takes precedence over the parameter specified in the shop settings.
To ensure that webhooks come from our system, generate a Signing Key in the shop settings. If the Signing Key is specified, webhooks include 'Signature' header with HMAC-SHA256 hash generated from JSON body and Signing Key.
The webhook payload has the same structure as the "result" field in the GET /api/v1/payments/{id} response.