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.
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.
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.