Create 3DS2 Setup
Register 3D Secure 2 browser and device data for server-to-server integrations and receive a three_d_secure_setup_id to use on the subsequent payment.
three_d_secure_setup_id to reference on the subsequent POST /v1/payments.
three_d_secure_setup_id travel together on the payment call.type field tells Yuno where the device data was gathered. MERCHANT_PROVIDED — currently the only supported value — means you collected the browser environment and device fingerprints on your side and are passing them in directly. Yuno does not run its own collector for this endpoint; if you need Yuno to capture the browser/device data, use the SDK variant instead.How to use the response
- Store the id. Keep
three_d_secure_setup_idagainst the order on your side. - Reference it on the payment. On the subsequent Create Payment, pass it under
payment_method.detail.card.three_d_secure.three_d_secure_setup_idalongside the card or vaulted token. Yuno attaches the registeredbrowser_infoanddevice_fingerprintsto the request it sends to the payment provider.
X-Idempotency-Key. The same key with the same payload returns the original setup id within a 24-hour replay window. Check the Authentication page for more information.
Field rules and edge cases
| Rule | Behavior |
|---|---|
type set to a value other than MERCHANT_PROVIDED | 400 INVALID_PARAMETERS. Other values are reserved for future use. |
browser_info.platform set to an unsupported value | 400 INVALID_PARAMETERS. Allowed: WEB, IOS, ANDROID. |
device_fingerprints omitted | Accepted. Yuno will skip device-fingerprint enrichment for any provider that wasn’t pre-supplied. |
device_fingerprints[*].provider_id not found in your account | Entry is dropped silently; setup proceeds with the remaining entries. |
account_id not owned by the API key | Treated as an authorization failure (403). |
Authorizations
Body
Account UUID that owns this 3DS2 setup.
Source of the device data. MERCHANT_PROVIDED means you collected the browser/device data on your side and are passing it in directly.
MERCHANT_PROVIDED Browser environment captured from the cardholder's session. Forwarded verbatim to the 3DS2 server for risk scoring and frictionless decisioning.
One or more provider-scoped device fingerprints already collected on your side. Yuno will not run device collection again for any provider_id you include here.
Response
201
Generated identifier of the 3DS2 setup. Pass this under payment_method.detail.card.three_d_secure.three_d_secure_setup_id on the subsequent POST /v1/payments.
"a17b4f2c-08d1-4e9b-b6c5-9a3e0c7f1b22"
Echo of the request account_id.
"11111111-1111-1111-1111-111111111111"
Echo of the request type.
"MERCHANT_PROVIDED"
Echo of the request browser_info.
Echo of the request device_fingerprints.