Invozo Română Back to site

Shop API

Last updated: 29 November 2026

Your shop asks Invozo for a payment link when a buyer places an order. Invozo e-mails the link to the buyer in the name of your shop, or you send the buyer straight to it, the buyer pays by card on a secure Invozo page, and Invozo tells your shop that the order is paid. This guide works for any platform: WooCommerce, PrestaShop, OpenCart, Magento, Shopify through a small connector, or a shop you built yourself. Online shop accounts are opened by invitation from the Invozo team.

01How it works

  1. The buyer chooses “Pay by card through a payment link” at checkout. Your shop saves the order as waiting for payment.
  2. Your server calls POST /payment-links with the amount and the order number. Invozo answers with a link.
  3. Invozo e-mails the link to the buyer. The e-mail comes from the web address of your shop, for example “www.your-shop.com via Invozo”, and the buyer’s replies go to the e-mail address of your shop. You can also send the buyer straight to the link, or show it on your thank-you page.
  4. The buyer pays by card on the Invozo page, or with Apple Pay or Google Pay where the device has them. If Invozo turned Klarna on for your shop, the buyer can also pay in instalments with Klarna, where Klarna works for the country and the currency. You are paid the same way in every case. After the payment, a button takes them back to your shop if you sent a return_url.
  5. Invozo calls your webhook address with the event payment.paid. Your shop marks the order as paid and ships it.

The money is received by Invozo, operated by DKL Distribution Group SRL. Invozo pays it out to the bank account of your Invozo account, minus the commission of your account, as written in the terms of service.

02What you get from Invozo

The key and the secret are passwords for your money. Keep them only on your server, in a setting or an environment variable. Never put them in the code of a web page, in a mobile app, in a public repository or in a chat.

03Currency

Each shop on Invozo has a main currency: EUR, RON, USD, GBP, CHF, CAD, DKK, PLN, SEK or NOK. If your shop sells in more than one, ask us and we turn the others on for the same shop. You keep one API key, one webhook address and one signing secret, and you send the currency with each link. The buyer pays in that currency, and Invozo pays you out in the same currency, so there is no exchange between your shop and your bank account.

The smallest amount and the limits follow the currency. GET /ping shows them for each currency of the shop, under currencies, in the smallest unit of the currency: for example 1.00 EUR, 6.00 RON or 13.00 SEK as the smallest amount. Each currency is paid out on its own. You can give us a separate bank account for a currency, in your Invozo account.

A company with more than one shop keeps one Invozo account and adds each shop in it, under Shops. Each shop is checked by Invozo and gets its own API key, webhook address and signing secret. A key only sees the payment links of its own shop.

04Address, key and format

Every request goes to this address, over HTTPS:

https://invozo.eu/api/v1

Send your key in the header Authorization: Bearer invz_…. If your server or a plugin cannot send that header, the header X-Invozo-Key: invz_… works too.

05Check the connection

Call GET /ping first. It tells you the currency of the account, the commission, the smallest amount and the limits.

bash
curl https://invozo.eu/api/v1/ping \
  -H "Authorization: Bearer invz_your_key"
json
{
  "ok": true,
  "account": {
    "shop_id": 12,
    "shop_name": "Your Shop",
    "shop_url": "https://your-shop.com",
    "currency": "EUR",
    "fee_percent": 10,
    "minimum_amount": 100,
    "limits": { "per_link": 100000, "per_day": 300000, "used_today": 4990 },
    "webhook_url": "https://your-shop.com/invozo/webhook",
    "currencies": [
      { "currency": "EUR", "minimum_amount": 100, "limits": { "per_link": 100000, "per_day": 300000, "used_today": 4990 } },
      { "currency": "RON", "minimum_amount": 600, "limits": { "per_link": 500000, "per_day": 1500000, "used_today": 0 } }
    ]
  },
  "test_mode": false
}

When test_mode is true, Invozo is running in test mode: no card is charged, and the payment page has a button that simulates an approved payment.

POST /payment-links

FieldRequiredWhat to send
amountyesWhole number in the smallest unit of the currency (cents, öre, bani, pence). At least minimum_amount from GET /ping, and not more than the limit of the account.
currencynoOne of the currencies of the shop, as GET /ping lists them: EUR, RON, USD, GBP, CHF, CAD, DKK, PLN, SEK or NOK. Left out, the link is in the main currency. A currency the shop does not have is refused.
order_idyesYour order number, 1 to 64 characters: letters, digits and . _ : / # -. It appears in the e-mail, on the payment page and on the receipt.
descriptionyes3 to 80 characters, for example “Order 1042”. The buyer sees it.
customer.nameyesThe name of the buyer, at least 2 characters.
customer.emailnoThe e-mail address of the buyer. Needed if Invozo should send the link.
customer.phonenoWith the country code, for example +44 7700 900123. A number that cannot be read is left out.
customer.addressnoThe address of the buyer, printed on the invoices. An object with line1, line2, postal_code, city, state and country, all optional, or plain text with one line per row.
send_emailnotrue or false. If you leave it out, the e-mail is sent when customer.email is there.
languagenoThe language of your buyer: en, ro, de, fr, it, es, da, sv, nb or pl. Send the language your shop was shown in. The e-mails are in this language. The payment page opens in the language of the buyer’s browser, in any currency, and the buyer can change it on the page. If the browser has none of these languages, the page uses the one you sent. Left out, the currency decides: RON in Romanian, GBP, USD and CAD in English, CHF in German, DKK in Danish, SEK in Swedish, NOK in Norwegian, PLN in Polish, EUR in English. When a link sent by e-mail is not paid, the buyer is reminded after 1, 3 and 7 days, in this language, unless you turned reminders off in your account.
return_urlnoAddress on your shop, starting with https://. After the payment, the page shows a button “Back to www.your-shop.com” that opens it.
bash
curl -X POST https://invozo.eu/api/v1/payment-links \
  -H "Authorization: Bearer invz_your_key" \
  -H "Content-Type: application/json" \
  -d '{
    "amount": 4990,
    "currency": "EUR",
    "order_id": "1042",
    "description": "Order 1042",
    "customer": {
      "name": "Alex Sample",
      "email": "alex@example.com",
      "phone": "+44 7700 900123",
      "address": {
        "line1": "10 Sample Street",
        "postal_code": "SW1A 1AA",
        "city": "London",
        "country": "United Kingdom"
      }
    },
    "send_email": true,
    "return_url": "https://your-shop.com/checkout/thank-you"
  }'

The same in PHP, for WooCommerce, PrestaShop, OpenCart, Magento or your own code:

php
<?php
$body = [
    'amount' => (int) round($order_total * 100),
    'currency' => 'EUR',
    'order_id' => (string) $order_id,
    'description' => 'Order ' . $order_id,
    'customer' => ['name' => $buyer_name, 'email' => $buyer_email, 'phone' => $buyer_phone],
    'send_email' => true,
    'return_url' => 'https://your-shop.com/checkout/thank-you',
];
$ch = curl_init('https://invozo.eu/api/v1/payment-links');
curl_setopt_array($ch, [
    CURLOPT_POST => true,
    CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . getenv('INVOZO_API_KEY'), 'Content-Type: application/json'],
    CURLOPT_POSTFIELDS => json_encode($body),
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_TIMEOUT => 20,
]);
$answer = json_decode(curl_exec($ch), true);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status === 200 || $status === 201) {
    save_payment_reference($order_id, $answer['payment_link']['reference'], $answer['payment_link']['url']);
} else {
    log_error($answer['error']['message'] ?? 'Invozo did not answer');
}

And in Node.js:

javascript
const answer = await fetch('https://invozo.eu/api/v1/payment-links', {
  method: 'POST',
  headers: {
    Authorization: 'Bearer ' + process.env.INVOZO_API_KEY,
    'Content-Type': 'application/json'
  },
  body: JSON.stringify({
    amount: Math.round(order.total * 100),
    currency: 'EUR',
    order_id: String(order.id),
    description: 'Order ' + order.id,
    customer: { name: order.buyerName, email: order.buyerEmail },
    send_email: true,
    return_url: 'https://your-shop.com/checkout/thank-you'
  })
});
const data = await answer.json();
if (!data.ok) throw new Error(data.error.message);
await saveReference(order.id, data.payment_link.reference, data.payment_link.url);

The answer, with the status 201:

json
{
  "ok": true,
  "payment_link": {
    "reference": "IZ7K2M9QXA",
    "order_id": "1042",
    "status": "open",
    "amount": 4990,
    "currency": "EUR",
    "description": "Order 1042",
    "url": "https://invozo.eu/pay/3f9a1c0e7b2d4a6f8e1c3b5a7d9f0e2c",
    "shop_name": "Your Shop",
    "fee": 499,
    "net": 4491,
    "refunded": 0,
    "customer": { "name": "Alex Sample", "email": "alex@example.com", "phone": "+447700900123", "address": "10 Sample Street\nSW1A 1AA London\nUnited Kingdom" },
    "payer_email": null,
    "email_sent_to": "alex@example.com",
    "return_url": "https://your-shop.com/checkout/thank-you",
    "test": false,
    "created_at": "2026-11-26T10:15:00Z",
    "expires_at": "2026-12-26T10:15:00Z",
    "paid_at": null,
    "paid_out_at": null
  },
  "email": { "sent": true, "to": "alex@example.com" }
}

Keep the reference with your order. If the e-mail could not be sent, email.sent is false and email.reason says why; the link is still made, and you can give the buyer the url another way.

07Invozo at your checkout

When a buyer places an order in your shop, Invozo is the payment method they see. If it is your only one, do not show a list to choose from: put the block below right above the order button.

html
<input type="hidden" name="payment_method" value="invozo">
<div style="display:flex;gap:14px;align-items:center;flex-wrap:wrap;border:1px solid #d7dbe4;border-radius:12px;padding:14px 16px">
  <img src="https://invozo.eu/img/insigna/invozo-mic-deschis.png" width="160" height="42" alt="Payments processed by Invozo">
  <div>
    <strong>Card payment</strong><br>
    <small>You pay on the secure Invozo page. The payment is processed by RoxPay.
    On your card statement you see INVOZO/DKLGROUP.</small>
  </div>
</div>
<button type="submit">Place order and pay</button>

On a dark page use invozo-mic-inchis.png. If you keep other payment methods too, replace the hidden field with a radio button that has the same name and value.

The texts, ready in every language of the payment page:

LanguageTitleTextButton
EnglishCard paymentYou pay on the secure Invozo page. The payment is processed by RoxPay. On your card statement you see INVOZO/DKLGROUP.Place order and pay
RomânăPlată cu cardulPlătești pe pagina securizată Invozo. Plata este procesată de RoxPay. Pe extrasul cardului apare INVOZO/DKLGROUP.Plasează comanda și plătește
DeutschKartenzahlungSie zahlen auf der sicheren Invozo-Seite. Die Zahlung wird von RoxPay abgewickelt. Auf Ihrer Kartenabrechnung erscheint INVOZO/DKLGROUP.Zahlungspflichtig bestellen
FrançaisPaiement par carteVous payez sur la page sécurisée d’Invozo. Le paiement est traité par RoxPay. Sur votre relevé de carte apparaît INVOZO/DKLGROUP.Commander avec obligation de paiement
ItalianoPagamento con cartaPaghi sulla pagina sicura di Invozo. Il pagamento è gestito da RoxPay. Sull’estratto conto della carta compare INVOZO/DKLGROUP.Ordina e paga
EspañolPago con tarjetaPagas en la página segura de Invozo. El pago lo procesa RoxPay. En el extracto de tu tarjeta aparece INVOZO/DKLGROUP.Realizar pedido y pagar
DanskKortbetalingDu betaler på Invozos sikre side. Betalingen behandles af RoxPay. På dit kontoudtog vises INVOZO/DKLGROUP.Bestil og betal
SvenskaKortbetalningDu betalar på Invozos säkra sida. Betalningen hanteras av RoxPay. På ditt kontoutdrag visas INVOZO/DKLGROUP.Beställ och betala
NorskKortbetalingDu betaler på Invozos sikre side. Betalingen behandles av RoxPay. På kortutskriften står det INVOZO/DKLGROUP.Bestill og betal
PolskiPłatność kartąPłacisz na bezpiecznej stronie Invozo. Płatność obsługuje RoxPay. Na wyciągu z karty widnieje INVOZO/DKLGROUP.Zamawiam i płacę

What your server does when the buyer presses the button:

The whole step, in PHP:

php
<?php
$order = save_order($_POST, 'awaiting_payment');
$ch = curl_init('https://invozo.eu/api/v1/payment-links');
curl_setopt_array($ch, [
    CURLOPT_POST => true,
    CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . getenv('INVOZO_API_KEY'), 'Content-Type: application/json'],
    CURLOPT_POSTFIELDS => json_encode([
        'amount' => (int) round($order['total'] * 100),
        'currency' => $order['currency'],
        'order_id' => (string) $order['id'],
        'description' => 'Order ' . $order['id'],
        'customer' => ['name' => $order['name'], 'email' => $order['email']],
        'language' => $order['language'],
        'return_url' => 'https://your-shop.com/thank-you?order=' . $order['id'],
    ]),
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_TIMEOUT => 20,
]);
$answer = json_decode((string) curl_exec($ch), true);
if (empty($answer['ok'])) {
    show_error('The payment page could not be opened. Please try again.');
    exit;
}
save_payment_link($order['id'], $answer['payment_link']['reference'], $answer['payment_link']['url']);
header('Location: ' . $answer['payment_link']['url'], true, 303);

The same in Node.js:

javascript
app.post('/checkout', async (req, res) => {
  const order = await saveOrder(req.body, 'awaiting_payment');
  const answer = await fetch('https://invozo.eu/api/v1/payment-links', {
    method: 'POST',
    headers: { Authorization: 'Bearer ' + process.env.INVOZO_API_KEY, 'Content-Type': 'application/json' },
    body: JSON.stringify({
      amount: Math.round(order.total * 100),
      currency: order.currency,
      order_id: String(order.id),
      description: 'Order ' + order.id,
      customer: { name: order.name, email: order.email },
      language: order.language,
      return_url: 'https://your-shop.com/thank-you?order=' + order.id
    })
  }).then(r => r.json()).catch(() => ({ ok: false }));
  if (!answer.ok) return res.status(502).send('The payment page could not be opened. Please try again.');
  await savePaymentLink(order.id, answer.payment_link.reference, answer.payment_link.url);
  res.redirect(303, answer.payment_link.url);
});

On the thank-you page read the link with GET /payment-links. If it is paid, say thank you. If it is open, show a “Pay now” button that goes to the saved url. Show the same button in the buyer’s account, next to every order that waits for payment.

08The same order twice

If your shop calls twice for the same order_id, for example after a timeout, Invozo does not make a second link. While the first link is open or paid, you get it back with the status 200 and "existing": true.

If the second call has another amount, the answer is 409. Cancel the old link first, then create a new one. After a link is cancelled or expired, the same order_id gets a new link.

GET /payment-links with reference or order_id. Use it when the buyer comes back to your shop, or before you ship, to be sure.

bash
curl "https://invozo.eu/api/v1/payment-links?order_id=1042" \
  -H "Authorization: Bearer invz_your_key"

curl "https://invozo.eu/api/v1/payment-links?reference=IZ7K2M9QXA" \
  -H "Authorization: Bearer invz_your_key"
statusMeaning
openWaiting for the payment.
paidPaid. paid_at says when. It stays paid after a refund; refunded shows how much was returned.
expiredNot paid in 30 days. It can no longer be paid.
cancelledCancelled by your shop or by your account.

fee is the commission of Invozo for this link and net is what is paid out to you, both in cents. paid_out_at is filled in when the money was sent to your bank account.

10Send the e-mail again

POST /payment-links/email with reference or order_id, and email if it was not given before.

bash
curl -X POST https://invozo.eu/api/v1/payment-links/email \
  -H "Authorization: Bearer invz_your_key" \
  -H "Content-Type: application/json" \
  -d '{ "order_id": "1042", "email": "alex@example.com" }'

One link can be e-mailed at most 3 times, at least one hour apart, and only to one address. One address gets at most 10 e-mails from Invozo in 24 hours. When an e-mail is not sent, the answer is 429 with the type email_not_sent.

POST /payment-links/cancel with reference or order_id. Do it when the buyer cancels the order, so the link can no longer be paid. Only an open link can be cancelled.

bash
curl -X POST https://invozo.eu/api/v1/payment-links/cancel \
  -H "Authorization: Bearer invz_your_key" \
  -H "Content-Type: application/json" \
  -d '{ "reference": "IZ7K2M9QXA" }'

12Webhooks

Invozo calls your webhook address with a POST and a JSON body when something happens to a link created through the API:

EventWhen
payment.paidThe buyer paid. Mark the order as paid.
payment.refundedInvozo refunded all or part of the payment. refunded is the total returned so far, in cents.
webhook.testYou asked for a test event.
http
POST /invozo/webhook HTTP/1.1
Host: your-shop.com
Content-Type: application/json
User-Agent: Invozo-Webhooks/1
X-Invozo-Event: payment.paid
X-Invozo-Event-Id: evt_5821
X-Invozo-Timestamp: 1795688400
X-Invozo-Signature: sha256=8f1d5c0b9e6a3f2d7c4b1a0e9d8c7b6a5f4e3d2c1b0a9f8e7d6c5b4a3f2e1d0c

{
  "id": "evt_5821",
  "type": "payment.paid",
  "created_at": "2026-11-26T10:21:40Z",
  "data": {
    "payment_link": {
      "reference": "IZ7K2M9QXA",
      "order_id": "1042",
      "status": "paid",
      "amount": 4990,
      "currency": "EUR",
      "paid_at": "2026-11-26T10:21:38Z"
    }
  }
}

Check the signature before you trust the body. The signature is an HMAC-SHA256, made with your signing secret, of the timestamp, a dot and the raw body, exactly as received. Refuse events older than 5 minutes.

php
<?php
$body = file_get_contents('php://input');
$timestamp = $_SERVER['HTTP_X_INVOZO_TIMESTAMP'] ?? '';
$signature = $_SERVER['HTTP_X_INVOZO_SIGNATURE'] ?? '';
$expected = 'sha256=' . hash_hmac('sha256', $timestamp . '.' . $body, getenv('INVOZO_WEBHOOK_SECRET'));
if (!hash_equals($expected, $signature) || abs(time() - (int) $timestamp) > 300) {
    http_response_code(400);
    exit;
}
$event = json_decode($body, true);
$link = $event['data']['payment_link'];
if ($event['type'] === 'payment.paid' && !event_already_handled($event['id'])) {
    mark_order_paid($link['order_id'], $link['reference'], $link['amount']);
}
http_response_code(200);
javascript
const crypto = require('crypto');

app.post('/invozo/webhook', express.raw({ type: 'application/json' }), (req, res) => {
  const timestamp = req.get('X-Invozo-Timestamp') || '';
  const signature = req.get('X-Invozo-Signature') || '';
  const expected = 'sha256=' + crypto
    .createHmac('sha256', process.env.INVOZO_WEBHOOK_SECRET)
    .update(timestamp + '.' + req.body)
    .digest('hex');
  const same = signature.length === expected.length
    && crypto.timingSafeEqual(Buffer.from(signature), Buffer.from(expected));
  if (!same || Math.abs(Date.now() / 1000 - Number(timestamp)) > 300) return res.sendStatus(400);
  const event = JSON.parse(req.body);
  if (event.type === 'payment.paid') markOrderPaid(event.data.payment_link);
  res.sendStatus(200);
});
python
import hashlib, hmac, json, os, time
from flask import Flask, request

app = Flask(__name__)

@app.post('/invozo/webhook')
def invozo_webhook():
    body = request.get_data()
    timestamp = request.headers.get('X-Invozo-Timestamp', '')
    signature = request.headers.get('X-Invozo-Signature', '')
    expected = 'sha256=' + hmac.new(os.environ['INVOZO_WEBHOOK_SECRET'].encode(), timestamp.encode() + b'.' + body, hashlib.sha256).hexdigest()
    if not hmac.compare_digest(expected, signature) or abs(time.time() - int(timestamp or 0)) > 300:
        return '', 400
    event = json.loads(body)
    if event['type'] == 'payment.paid':
        mark_order_paid(event['data']['payment_link'])
    return '', 200

13Test before you go live

A plugin can set the webhook address itself with POST /webhooks and {"url": "https://your-shop.com/invozo/webhook"}. The address has to be on the web address of the shop. The answer has a new secret, and the old one stops working.

Send a test event to your webhook address. It is signed like a real one.

bash
curl -X POST https://invozo.eu/api/v1/webhooks/test \
  -H "Authorization: Bearer invz_your_key"

The answer says if your server took it, with delivered and status_code. You can make up to 10 test events an hour.

To try the whole road, create a link for the smallest amount for yourself, open it and look at the e-mail and at the payment page, then cancel it. If Invozo is in test mode (test_mode: true), you can also simulate the payment and receive payment.paid. Ask the Invozo team if you want to test this way.

14Errors

When something is wrong, ok is false and error says what. field names the field to fix, when there is one.

json
{
  "ok": false,
  "error": {
    "type": "invalid_request",
    "message": "amount has to be a whole number in cents, for example 4990 for €49.90.",
    "field": "amount"
  }
}
HTTPtypeWhat to do
400invalid_requestA field is missing or wrong. Read message and field.
400 or 409limit_exceededThe amount passes the limit for one link or for the day.
401authenticationThe key is missing, wrong or revoked.
403account_inactiveThe Invozo account is not active. Write to Invozo.
403shop_inactiveThis shop is waiting for approval or was stopped. Write to Invozo.
404not_foundNo link with this reference or order number in this shop.
409conflictThe link is not in a state that allows this, or the order already has a link with another amount.
409webhook_not_setThere is no webhook address yet.
429rate_limitedToo many requests. Wait for the seconds in the header Retry-After.
429email_not_sentThe e-mail limits were reached. Give the buyer the link another way.
500server_errorSomething went wrong on our side. Try again in a minute; with the same order_id you never get a double link.

15Limits

16Platforms

Invozo does not need a plugin. Anything that can send an HTTPS request from a server can use it.

17Money, refunds and disputes

18Safety list

Questions or a new key: hello@invozo.eu.