3DS2 Setup
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.
POST
Register the 3D Secure 2 setup data your integration has collected: the cardholder’s browser environment and any pre-computed device fingerprints. In return, receive a
three_d_secure_setup_id to reference on the subsequent POST /v1/payments.
Server-to-server integrations onlyUse this endpoint when you operate a server-to-server (B2B) integration and collect 3DS2 device data on your side, through your own SDK, a fraud-screening provider’s collector, or a 3DS2 server you call directly.If you integrate through the Yuno Web/Mobile SDK and a checkout session, you can skip this endpoint entirely. The SDK collects the device data and registers it automatically as part of the checkout flow.
Registration step onlyThis endpoint does not call the issuer, does not render a challenge, and does not bind to a specific card. The card and the
three_d_secure_setup_id travel together on the payment call.How the merchant supplies device dataThe
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
Authorizations
Body
application/json
Response
201