All illustrated on this page is not officially from Nets-Nexi and should never be treated as such, but only a site for reference. All code and/or reference should only be treated and used as proof of concept and with you as responsible, if any code is determined used by you or other parties 😊
Nicolai's Test Environment
Create payment
Webhooks
  • Charge payment

    Refund payment

    Cancel payment

    Webhooks
    payment.reservation.created
  • Timestamp: 2026-10-14T15:53:18.7076+00:00
  • merchantId: 100037304
  • Event: payment.reservation.created
  • paymentId: 16e4fa68f6fa4f52b46913377bc90023
  • approvalcode: 45794
  • paymentType: WALLET
  • paymentMethod: GooglePay
  • issuerCountry: NO
  • card nature: D
  • cardmask: 54130000****0000
  • expiryMonth: 12 , expiryYear: 28
  • amount: 7450 DKK
  • surchargeAmount: 0
  • Webhook response:
    {
        "id": "14be1953c5ee45889a7eab206131bd32",
        "merchantId": 100037304,
        "timestamp": "2026-10-14T15:53:18.7076+00:00",
        "event": "payment.reservation.created",
        "data": {
            "cardDetails": {
                "creditDebitIndicator": "D",
                "expiryMonth": 12,
                "expiryYear": 28,
                "issuerCountry": "NO",
                "truncatedPan": "54130000****0000",
                "threeDSecure": {
                    "acsUrl": "https://threedsmock.easy.local/ui/authselect/abc0a06c3f87490e8e5f80ddf23a646c",
                    "authenticationEnrollmentStatus": "Y",
                    "authenticationStatus": "Y",
                    "eci": "02"
                }
            },
            "paymentMethod": "GooglePay",
            "paymentType": "WALLET",
            "consumer": {
                "ip": "REMOVED"
            },
            "reservationReference": "045794",
            "reserveId": "14be1953c5ee45889a7eab206131bd32",
            "amount": {
                "amount": 7450,
                "currency": "DKK"
            },
            "surchargeAmount": 0,
            "paymentId": "16e4fa68f6fa4f52b46913377bc90023"
        }
    }
  • payment.checkout.completed
  • Timestamp: 2026-10-14T15:53:18.7076+00:00
  • merchantId: 100037304
  • Event: payment.checkout.completed
  • paymentId: 16e4fa68f6fa4f52b46913377bc90023
  • reference (order number): 6acfa5643c29b
  • amount: 7450 DKK
  • Webhook response:
    {
        "id": "dd284df6c94d4384a6b7f640dbbfa531",
        "merchantId": 100037304,
        "timestamp": "2026-10-14T15:53:18.7076+00:00",
        "event": "payment.checkout.completed",
        "data": {
            "order": {
                "amount": {
                    "amount": 7450,
                    "currency": "DKK"
                },
                "reference": "6acfa5643c29b",
                "orderItems": [
                    {
                        "grossTotalAmount": 7450,
                        "name": "Abonnement mm",
                        "netTotalAmount": 5960,
                        "quantity": 1,
                        "reference": "6acfa5643c29a",
                        "taxRate": 2500,
                        "taxAmount": 1490,
                        "unit": "stk",
                        "unitPrice": 5960
                    }
                ]
            },
            "consumer": {
                "ip": "REMOVED"
            },
            "paymentId": "16e4fa68f6fa4f52b46913377bc90023"
        }
    }