Check enroll
Verifies if the card is enrolled in 3-D Secure and initiates the authentication challenge if required.
Endpoint Details
Headers
Content-Type: application/json
x-api-key: <YOUR_API_KEY>Request Body
{
"transaction_info": {
"type": "check_enroll",
"reference_code": "123456789"
},
"card": {
"number": "{{token_id : detokenize}}",
"expiration_date": "{{token_id : detokenize}}"
},
"order_info": {
"amount_details": {
"total_amount": "1000",
"currency": "MXN"
}
},
"bill_to": {
"first_name": "John",
"last_name": "Doe",
"country": "US",
"address_1": "1 Market St",
"address_2": "Suite 200",
"city": "san francisco",
"state": "CA",
"phone_number": "4158880000",
"email": "accept@gmsectec.com",
"postal_code": "94105"
},
"buyer_info": {
"mobile_phone": "4158880000"
},
"device_info": {
"ip_address": "190.123.237.237",
"http_browser_color_depth": "30",
"http_browser_java_enabled": false,
"http_browser_js_enabled": true,
"http_browser_screen_height": "1117",
"http_browser_screen_width": "1728",
"http_browser_time_offset": "240",
"user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36",
"cookies_accepted": true,
"http_browser_language": "en-US",
"http_accept_content": "application/json"
},
"authentication": {
"reference_id": "21db503f-1eb5-4a77-81e8-1129c4106af3",
"return_url": "https://merchant.com/returnUrl",
"device_channel": "Browser",
"mode": "S",
"token": "AxixbwSTl1LdGx33S/NFAU9+ZWgkZAKH0MmkmXoxkcwdAJgAOBao"
}
}Parameters
Field
Type
Required
Description
Device Information
Response Structure
Response Examples
ECI (Electronic Commerce Indicator) Codes
Mastercard
VISA / AMEX
Response Fields
transaction_info
Field
Description
card
Field
Description
consumer_auth_info
Field
Description
Field
Description
Field Name
Description
error Object (pending scenario)
Field
Description
Scenario 1: Authentication Successful
Scenario 2: Challenge Required
Scenario 3: Authentication Failed
Usage Example
cURL
Next Steps
If Authentication Successful
If Challenge Required
If Authentication Failed
Integration Notes
Cardinal Commerce SDK
Device Data Collection
Last updated