3DS API
Check 3DS Enrollment
Sample Request
PUT https://openhacking.me/3DSecure.php?3DSecureId={3DSecureId}
Content-Type: application/json
Payload:
{
"apiOperation": "CHECK_3DS_ENROLLMENT",
"3DSecure": {
"authenticationRedirect": {
"responseUrl" : "https://openhacking.me/3DSecureResult.php?3DSecureId={3DSecureId}"
}
},
"order": {
"amount": "1.00",
"currency": "USD"
},
"session": {
"id": "SESSION0000000000000000000000"
}
}
Response
Content-Type: application/json
Payload:
{
"apiVersion": "49",
"gatewayResponse": {
"3DSecure": {
"summaryStatus": "CARD_ENROLLED"
"authenticationRedirect": {
"simple": {
"htmlBodyContent": "..."
}
}
},
"3DSecureId": "",
"merchant": "TESTBARISTACOLKR",
"response": { ... },
"version": "49"
}
}
3DS API
Process ACS Result
Sample Request
POST https://openhacking.me/3DSecure.php?3DSecureId={3DSId}
Content-Type: application/json
Payload:
{
"apiOperation": "PROCESS_ACS_RESULT",
"3DSecure": {
"paRes": "..."
}
}
Response
Content-Type: application/json
Payload:
{
"apiVersion": "49",
"gatewayResponse": {
"3DSecure": {
"summaryStatus": "AUTHENTICATION_SUCCESSFUL"
"authenticationRedirect": {
"simple": {
"htmlBodyContent": "..."
}
}
},
"3DSecureId": "",
"merchant": "TESTBARISTACOLKR",
"response": { ... },
"version": "49"
}
}