Card payment orchestration

One API in front of every acquirer you work with.

Duevance routes each card payment to the right acquirer, retries a soft decline on the next one, and gives you one set of payments, refunds and webhooks to integrate, whichever acquirer said yes.

One payment, two acquirers
  1. POST /v1/paymentsEUR 19.99, signed request
  2. Acquirer ASoft decline: try the next route
    declined
  3. Acquirer BApproved after 3-D Secure
    approved
  4. payment.succeededOne signed webhook to your server

What Duevance does

Everything between your checkout and the card networks

One API, many acquirers

Charges, captures, voids, refunds and stored cards through one signed JSON API. Routing rules pick the acquirer for each payment by currency, amount, country or card BIN, among your own accounts and the ones Duevance gives you access to.

Decline cascade

A soft decline or a technical failure moves the payment to the next acquirer in its route. A hard decline stops, and an answer we could not read is never retried elsewhere, so a card is not charged twice.

Hosted payment page with 3-D Secure

Send buyers to a payment page carrying your name and logo, in five languages. It handles the 3-D Secure challenge, sets no cookie, runs no third-party script, and returns the buyer to your site.

Card vault

Save a card on the first payment and charge it again later with a stored mandate. Card numbers are encrypted at rest under their own key, and a keyed fingerprint recognises the same card without decrypting it.

Signed webhooks

Every status change is written to an outbox in the same database transaction as the change itself, then delivered to the endpoints you choose, with retries. Each delivery carries an HMAC-SHA256 signature you can check.

Test mode with a fake acquirer

Test keys run against a built-in fake acquirer. Magic card numbers produce approvals, soft and hard declines, 3-D Secure challenges and timeouts, so you can test every path before a real card is involved.

How it works

From a test key to live payments in three steps

  1. Integrate in test mode

    Take a test key, sign your requests and charge the fake acquirer's cards, or create a checkout session and open the hosted page.

  2. Connect your acquirers

    Duevance sets up the acquirer accounts and routing for your project. Your integration does not change when an acquirer is added or replaced.

  3. Go live

    Switch to a live key. Payments, refunds and webhooks keep the same shape, and every attempt is recorded with its acquirer and outcome.

For developers

Signed requests, predictable answers

Every request carries your key, a timestamp and an HMAC-SHA256 signature of the method, path and body. A signature is accepted once, and money requests take an Idempotency-Key, so a network retry never charges twice.

The example opens a checkout session: send the buyer to the url in the answer, and the hosted page takes the card.

  • Amounts in minor units, never floats
  • Status codes that say whether money moved
  • Cursor pagination and one error envelope

Read the documentation

checkout-session.sh
TS=$(date +%s)
BODY='{"amount":1999,"currency":"EUR","reference":"order-1001"}'
HASH=$(printf '%s' "$BODY" | openssl dgst -sha256 -hex | awk '{print $NF}')
SIG=$(printf '%s' "$TS.POST./v1/checkout-sessions.$HASH" \
  | openssl dgst -sha256 -hmac "$SECRET" -hex | awk '{print $NF}')

curl https://api.duevance.com/v1/checkout-sessions \
  -H "Duevance-Key: $KEY" \
  -H "Duevance-Timestamp: $TS" \
  -H "Duevance-Signature: $SIG" \
  -H "Content-Type: application/json" \
  --data-raw "$BODY"

Security

What the platform does to protect payments

Two-factor sign-in

Operators sign in with a password and a time-based one-time code (TOTP). Sensitive actions ask for a fresh code.

Encrypted secrets

API secrets, webhook secrets, acquirer credentials and two-factor seeds are stored encrypted with AES-256-GCM, under keys kept apart from the application key.

Signed requests

API requests are signed and time-bound, and each signature is accepted once. Webhooks and acquirer callbacks are signed and checked too.

Append-only audit

Operator actions are written to an audit log that the database itself refuses to edit.

Found a vulnerability? Write to [email protected]. Our security.txt has the details.

Talk to us about your payment flows

Tell us about your volumes, currencies and current acquirers. We will tell you how Duevance would route them.

Contact sales