Client-Side SDK vs Server-Side Transaction Submission (2026)
Client-side SDK: use it when an end user is present, for subject binding, device data and wallet ownership. Server-side POST /v3/transactions/: back-office, batch, system events. Same records, rules and webhooks.

Contents
In this guide
Jump to the part you need.
Client-side SDK submission fits when the transaction starts on your user's device: a crypto withdrawal, an in-app payment, a Travel Rule transfer. Server-side POST /v3/transactions/ fits when no end user is present: back-office transfers, batch imports, system events. Both paths cost the same, $0.001 per transaction beyond your plan's monthly allowance. The caveat is on the client path: your API key never leaves your backend, so your server must mint a short-lived token first.
Last updated: November 26, 2026. Prices checked against the live Didit price feed on November 26, 2026.
| Question | Client-side SDK submission | Server-side POST /v3/transactions/ |
|---|---|---|
| Who starts the transaction | The end user's device, through a Didit SDK | Your backend, a job, or a partner system |
| Credential | Short-lived sdk_token minted from your API key, posted as X-Transaction-Token | Your x-api-key on the server |
| Subject binding | Enforced server side from the token's vendor_data | Taken from the payload you send |
| Device context | Fingerprint collected by the SDK, IP address and user agent derived server side | You send device_context if you have it |
| Wallet ownership proof | Launched automatically when action_required.type is wallet_ownership | Returned for you to launch |
| Records, rules, webhooks | Same records, same rules, same webhooks | Same records, same rules, same webhooks |
| Best for | Withdrawals, in-app payments, Travel Rule transfers with a user present | Back-office transfers, batch imports, system events, historical ingestion |
Start free in the sandbox at https://business.didit.me/. No sales call is required. If you build with an AI assistant, connect Didit to it through the Didit MCP server. The docs for this workflow start at the real-time transaction monitoring overview, and every unit price is on the pricing page.
What both paths share
Both paths create the same transaction records, run the same rules, and emit the same webhooks. A transfer submitted from an iOS app through the SDK creates the same transaction record as a transfer your billing job posts with the API key: it scores against the same rule set and fires the same transaction.created and transaction.status.updated events. The decision is about where the data comes from, not about what Didit does with it.
Idempotency works the same way on both paths. Your transaction_id is unique per application. Re-submitting one that already exists returns 400 with a duplicate message on the transaction_id field, and two identical requests racing each other give the second one a 409. Neither response returns the existing transaction, so read it with GET /v3/transactions/{uuid}/ or take the Didit uuid from the transaction.created webhook. Always generate the identifier on your side before submitting.

Every transaction carries a transaction_category that decides how rules and analytics treat it: finance, kyc, travel_rule, user_event, gambling_bet, gambling_limit_change, gambling_bonus_change, and audit_trail_event. A back-office withdrawal and a user-initiated withdrawal differ in where they came from, not in the category you assign them.
Parties, payment methods and amounts
Every transaction has a required subject, the party you monitor, and an optional counterparty. Both use the same party model: entity_type of person or company, vendor_data, full_name, date_of_birth, country_code, and an address that can be structured or a plain string such as a wallet address. When vendor_data matches an existing user or business profile, Didit links the transaction to that entity, which enables cross-session rule evaluation and velocity checks.
Each party can carry a payment_method with a method_type of bank_card, bank_account, e_wallet, crypto_wallet, unhosted_wallet or other, plus an account_id and issuing_country. For crypto, set currency_kind to crypto and put the wallet address in account_id; direction then decides which wallet is screened, with inbound pre-transfer screening using the sender wallet in the counterparty payment method and outbound screening using the destination wallet. include_crypto_screening at the top level forces or skips screening for one transaction, and when it is omitted the application default applies.
Client-side submission: what the scoped token adds
Your backend calls POST /v3/transactions/sdk-token/ with your API key and the user's vendor_data. The response is a short-lived sdk_token and its expiry. The app calls submitTransaction on the SDK, which posts the payload to POST /v1/transactions/ with the token in the X-Transaction-Token header.
Three fields control the token: vendor_data is required and scopes the token to one end user; ttl_seconds defaults to 900 and is capped at 86400; max_uses optionally limits how many successful submissions the token allows. Mint a fresh token per user session rather than reusing long-lived ones, and keep max_uses tight when you know how many submissions to expect.
The API key stays on your backend. Only the short-lived sdk_token travels to the device. Shipping your API key inside an app is the one mistake this design exists to prevent.
Spoof-proof subject binding
The token is scoped to one vendor_data at mint time, and the subject identity of every transaction submitted with it is enforced server side from that binding. A tampered client cannot submit on behalf of another bound subject, and the payload never has to carry credentials. That is the documented guarantee, and it matters most when a fraudster controls the device your app is running on.
Device intelligence attached to the subject
The SDK collects a device fingerprint and sends it with the submission. Didit derives the IP address and user agent server side, so the network context is not something the client can set. The combined device context attaches to the transaction's subject with no separate device token and no extra library on your side. It drives device-based rules and related-by-device correlation across sessions and transactions, which is how you catch the same physical device operating several accounts.
Wallet ownership opens on the spot
When the created transaction requires the end user to prove control of a wallet, the response carries an action_required block of type wallet_ownership. The SDK opens that flow immediately and refreshes the transaction when it finishes, so you do not build polling loops or deliver links yourself. Under the EU Transfer of Funds Regulation a VASP must verify ownership of a self-hosted wallet before releasing funds above the sunrise threshold, and the wallet ownership widget is how Didit collects that proof: message signing, a Satoshi test, a screenshot, or a self declaration, depending on how the session was minted and your Travel Rule settings.

What the SDK does not launch
A required verification_session action is different. It is never auto-launched. It comes back in the same action_required block for your app to launch with your own Didit verification integration, using its session_token, or the url on web. That separation is deliberate: step-up identity checks belong to the verification flow you already own, not to a widget the SDK opens behind your back.
Server-side POST /v3/transactions/: when no end user is present
The API-key path remains right when there is nobody to hold a device: back-office transfers your finance team initiates, batch imports from a core ledger, and events reported by your own systems. Pass a past txn_date and rules still run, and can fire webhooks.
It is also the path for historical ingestion when you bring old volume across. Export the transactions to CSV, use Transactions then Import history in the console, or submit via the API in a loop with txn_date in the past. Feeding six months of history through a rule like twenty transfers in thirty days will generate thousands of alerts at once, so the CSV import has a dry ingest flag for exactly that reason, and you can enable rules only after ingestion finishes.

Cost at 1,000, 10,000 and 100,000 transactions
Two units matter on this page. A monitored transaction costs $0.001 beyond the plan's monthly allowance: 1,000 a month on Free, 10,000 on Growth, 100,000 on Scale. A crypto wallet screening costs $0.15, or $0.144 on Growth with the 4% discount, or $0.135 on Scale with the 10% discount. A fiat transaction does not trigger wallet screening, so the screening count is normally lower than the submission count, while other transaction rules and AML checks still apply.
| Volume per month | Arithmetic | Total |
|---|---|---|
| 1,000 | 1,000 is inside the Free plan allowance of 1,000, so 0 x $0.001 | $0.00 in monitoring charges |
| 10,000 | Free plan: (10,000 minus 1,000) = 9,000 x $0.001 = $9.00. Growth: 10,000 included, plan fee $99.00 a month | $9.00 on Free, or $99.00 a month on Growth |
| 100,000 | Free plan: (100,000 minus 1,000) = 99,000 x $0.001 = $99.00. Scale: 100,000 included, plan fee $299.00 a month | $99.00 on Free, or $299.00 a month on Scale |
| Screening volume | Arithmetic | Total |
|---|---|---|
| 1,000 | 1,000 x $0.15 = $150.00 | $150.00 |
| 10,000 | 10,000 x $0.15 = $1,500.00. On Growth, 10,000 x $0.144 = $1,440.00 | $1,500.00, or $1,440.00 on Growth |
| 100,000 | 100,000 x $0.15 = $15,000.00. On Scale, 100,000 x $0.135 = $13,500.00 | $15,000.00, or $13,500.00 on Scale |
A worked example for a mid-size exchange, billed monthly except where noted. 8,000 fiat withdrawals a month at $0.001 each is 8,000 x $0.001 = $8.00 a month. 600 crypto withdrawals screened at $0.15 each is 600 x $0.15 = $90.00 a month. Ongoing AML monitoring for 2,000 existing customers at $0.07 per person per year is 2,000 x $0.07 = $140.00 a year. That is $98.00 a month in transaction and screening charges, plus $140.00 a year for monitoring. None of those lines change because the withdrawal was submitted by the SDK instead of the API.
Strengths and limitations
Here is what the two submission paths give you, and where they stop.
Strengths
- One public price list covers the server path, the client path and the screenings, so the two options never differ in cost.
- The token model keeps the API key off the device while subject binding stays enforced on the server.
- Device fingerprint, server-derived IP address and user agent arrive with the submission, with no separate device token to manage.
- Wallet ownership opens inside the SDK: when the response carries a
wallet_ownershipaction the widget launches on the spot, and the transaction refreshes when the user finishes. - Same records, rules and webhooks on both paths, so a flow can move from the server to the device without a second integration.
Limitations
- The SDK path needs a backend that mints tokens, so a front-end-only prototype stops at the sandbox.
- Token lifetime is capped at 24 hours, so a long session needs a fresh mint.
- A required
verification_sessionaction still needs your own verification integration to launch it. - Plan credit resets monthly: unused monthly plan credit expires at the end of the plan month and does not roll over.
Moving user-facing flows to the SDK
Start in the sandbox, which is free on every plan, then change one flow at a time. Both paths create the same transaction records, run the same rules, and emit the same webhooks, so a move is a change of submission route and nothing else.
Idempotency across the switch
Generate transaction_id on your side before submitting, and keep it as the idempotency key. It is unique per application: re-submitting one that already exists returns 400 with a duplicate message on the transaction_id field, and two identical requests racing each other give the second one a 409. Neither response returns the existing transaction, so read it with GET /v3/transactions/{uuid}/ or take the Didit uuid that transaction.created carries next to your identifier.
Webhooks
Subscribe to transaction.created for every submitted transaction and transaction.status.updated for status changes, such as an analyst moving a record from IN_REVIEW to APPROVED or an async AML check updating a score. Verify the signature before you trust the body. Because both paths emit the same events, the handler you already run keeps working when a flow moves from the server to the device.
Records
Mint a token per user session, keep the API key on the server, and do not log the sdk_token. Store your own transaction_id as the idempotency key with the Didit uuid from the webhook beside it, so support can pull a record with GET /v3/transactions/{uuid}/ without a search. Read the integration guide before you move a live flow.
Mint a token, then submit from the device
curl -X POST https://verification.didit.me/v3/transactions/sdk-token/ \
-H "x-api-key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"vendor_data": "user-042",
"ttl_seconds": 900,
"max_uses": 3
}'
The response carries sdk_token and expires_at. Hand the token to the SDK, which posts the payload to POST /v1/transactions/ with the X-Transaction-Token header and adds the device context. Read the SDK transaction submission reference for the full field map.
Sources
- Didit docs: SDK Transaction Submission, client-side KYT
- Didit docs: Submit Transactions API, payload and data model
- Didit docs: Transaction Monitoring integration guide
- Didit docs: Real-time transaction monitoring overview
- Didit docs: Wallet ownership widget
- Didit docs: Webhooks and HMAC signing
- Didit pricing page and live price feed, read November 26, 2026
- Didit MCP server
- EUR-Lex: Regulation (EU) 2023/1113 on information accompanying transfers of funds
Start free in the sandbox at https://business.didit.me/. No sales call is required. Mint a token for a test user, submit one transaction from the SDK and one from your server, and compare the two records before you change a live flow. Published prices do not establish production availability, so check the docs for supported countries and methods before you go live.
Try it
Try this in the sandbox
Run the check this guide describes, free.
The product this post is about, taken from its topic. Run it free in the sandbox.
Author
Alberto Rosas
Co-founder and CEO

Questions
Frequently asked questions
When should I use the client-side SDK instead of POST /v3/transactions/?
Use the SDK when the transaction starts on your user's device: a crypto withdrawal, an in-app payment, or a Travel Rule transfer. Use POST /v3/transactions/ when no end user is present, such as back-office transfers, batch imports, or events your own systems report. Both paths create the same transaction records, run the same rules, and emit the same webhooks.
Does client-side submission create a different transaction record?
No. Both paths create the same transaction records, run the same rules, and emit the same webhooks. The client path adds two things to the same record: device intelligence attached to the subject, and subject identity enforced server side from the token binding.
How does the SDK stop a tampered client from submitting as another user?
The token is scoped to one vendor_data when your backend mints it, and the subject identity of every transaction submitted with it is enforced server side from that binding. A modified client cannot submit on behalf of another bound subject. The payload never carries credentials.
Do I still need a backend if I use the SDK?
Yes. Your backend calls POST /v3/transactions/sdk-token/ with the API key and the user's vendor_data, then hands the short-lived sdk_token to the app. The API key itself must never ship inside an app.
What device data does the SDK attach, and where does the IP address come from?
The SDK collects a device fingerprint and sends it with the submission. Didit derives the IP address and user agent server side, so the client cannot set them. The combined context attaches to the transaction's subject and drives device-based rules and related-by-device correlation across sessions and transactions.
What happens when a transaction needs proof of wallet ownership?
The response carries an action_required block of type wallet_ownership, and the SDK opens that flow immediately, then refreshes the transaction when the user finishes. You do not build polling loops or deliver links yourself. A verified proof marks the wallet address book entry as ownership verified and lets the linked Travel Rule transfer leave unconfirmed ownership.
Is a required verification session auto-launched by the SDK?
No. A verification_session action arrives in the same block but is never launched automatically. Your app reads the block and starts its own Didit verification flow with the session_token, or the url on web.
How much does each submission cost?
Transaction monitoring costs $0.001 per transaction beyond the plan allowance: 1,000 a month on Free, 10,000 on Growth, and 100,000 on Scale. Crypto wallet screening is separate at $0.15 per screening, $0.144 on Growth and $0.135 on Scale. The client path and the server path cost exactly the same.
Can I use both paths in the same Didit application?
Yes. Point user-facing flows at the SDK and keep back-office, batch and system events on POST /v3/transactions/. Both paths create the same transaction records, run the same rules, and emit the same webhooks, so nothing has to be reconciled between two systems.
How do I move from server-side submission to the SDK?
Test in the sandbox first, which is free on every plan. Generate transaction_id on your side, because it is unique per application and a duplicate returns 400 or 409. Watch transaction.created and transaction.status.updated, then move user-facing flows to the SDK and leave back-office and historical ingestion on the server API.
How long does an sdk_token last and how many times can it be used?
The token defaults to 900 seconds and can be set as high as 86400 seconds, which is 24 hours. max_uses optionally caps how many successful submissions it allows. Mint a fresh token per user session rather than reusing long-lived ones.
Compliance built in
Audited, certified and attested.
We hold the certifications and build each country's rules into your flows, so you can launch anywhere without worrying. Security and Compliance center
- Regulation encoded into your flows
Tell us what you do and where. Didit lists the rules that apply to you, with sources, and builds the checks each country needs into one workflow.
- Ready for AMLR
Every requirement of the new EU anti-money laundering rules, from checking customers to human review, is already covered by a Didit check.
- Tested in Spain's Treasury sandbox
Spain's Treasury published its supervised sandbox report on Didit's NFC plus active liveness onboarding; SEPBLAC took part and valued the added measures positively.
- Audited, not self-declared
iBeta Level 1 and Level 2. Liveness tested under ISO/IEC 30107-3.
Your obligations · 3 regions
SOC 2 Type 2
ISO 27001
iBeta Level 1 and Level 2
EU regulator attestation
FSM youth protection
GDPR
EBA remote onboarding
MiCA compatible
FIDO Alliance member
- AMLREU AML Regulation ready
Integration · Didit MCP
Run Didit from your own AI agent
Connect Didit to Claude, Cursor, VS Code or ChatGPT and just ask in plain words. Your agent can do anything you can do in the console, with the same permissions you have.
- Build workflowsDescribe the checks you need. The agent creates and publishes the flow.
- Run investigationsAsk why a session was declined, review cases, search people and companies.
- Change rulesCreate payment rules, test them on past data and switch them on.
- Pull reportsAsk for numbers, exports or the audit log.
Didit Academy


