Integration Steps
Step 1: Send a 3D Request
To initiate the 3D Secure authentication, send a server-to-server request to the 3D Secure endpoint.Step 2: Use the Redirect URL
Use theredirect_url
from the response to open the 3D Secure page in the browser.
Step 3: After Completing the 3D Secure Authentication
After the cardholder completes the authentication, the issuer will approve or reject the request. Based on the outcome, the customer will be redirected to either asuccess_url
or a decline_url
that you provide.
success_url
decline_url
Step 4: Webhook Notification
In addition to the redirect response, the gateway will send a Webhook notification to your specifiedwebhook_url
to confirm the status of the transaction. This ensures the transaction result is reliably communicated, even if the customer does not return to your website after the 3DS process.
Webhook Sample Response
Step 5: Get the 3D Secure Transaction status
Request Attributes
Response Attributes
Request Attributes
Authorizations
API Key for Authorization. Format: 'Basic YOUR_API_KEY_HERE'
API Key specific to x-api-key.
Body
The request payload to process a 3D Secure payment transaction.
The amount of the transaction.
"1000"
The abbreviation of the processing currency of the product (e.g., JPY).
3
"JPY"
A JSON object containing the Card Details.
The merchant transaction reference ID.
45
"qwe"
The IP address of the cardholder.
45
"127.0.0.1"
The merchant ID (DASMID).
128
"< Merchant ID >"
A JSON object containing the billing address of the cardholder.
A JSON object containing the Return URL. (This field is mandatory for 3DS transactions.)
A JSON object containing the shipping address of the cardholder (optional).
A JSON object containing details about the browser used by the cardholder (optional).
The country time zone of the transaction.
128
"Asia/Kuala_Lumpur"
Response
3D Secure transaction initiated successfully
The URL for the 3D Secure authentication page.
"https://checkout-dev.paymentoptions.com/integration/3ds?_token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiJmMmIwMWRhZi1lMWI2LTRlMTYtOGJlOC1hN2YwNTQ1NmQyNWEiLCJpYXQiOjE3Mzc5NTI0MTIsImlzcyI6IjYwMzc4ZjcxNGEwZTg5MTZlMDQ1YjQzOCIsIk9yZ1VuaXRJZCI6IjYwMzc4ZjcxZDk2ODQzM2UyMmIxZTY5NCIsImV4cCI6MTczNzk1NDIxMn0.ytizEgQCt_hQEPn3mdJMAaKjP0L68WiGYkOzD_nHeWI&_c=400000&_a=YXNpYWJpbGw="
The response status code.
200
Indicates if the transaction was successful.
true
The redirect URL for the 3D Secure authentication.
"https://checkout-dev.paymentoptions.com/integration/3ds?_token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiJmMmIwMWRhZi1lMWI2LTRlMTYtOGJlOC1hN2YwNTQ1NmQyNWEiLCJpYXQiOjE3Mzc5NTI0MTIsImlzcyI6IjYwMzc4ZjcxNGEwZTg5MTZlMDQ1YjQzOCIsIk9yZ1VuaXRJZCI6IjYwMzc4ZjcxZDk2ODQzM2UyMmIxZTY5NCIsImV4cCI6MTczNzk1NDIxMn0.ytizEgQCt_hQEPn3mdJMAaKjP0L68WiGYkOzD_nHeWI&_c=400000&_a=YXNpYWJpbGw="