/
Validate Card Security Code (dCVx)
Validate Card Security Code (dCVx)
WCF
Method
AuthServerResponse ValidateCSC(string authServerPartnerLoginName, string authServerPartnerLoginPassword, string authServerPartnerUserLoginName, string authOtp, string printedSerialNumber);
WCF parameter | data type | description |
---|---|---|
authServerPartnerLoginName | string | SurePassID account login name |
authServerPartnerLoginPassword | string | SurePassID account login key |
authServerPartnerUserLoginName | string | User account login name |
authOtp | string | Card security code to be verified. |
printedSerialNumber | string | Optional. Specific card identifier for this account. Used when there is more than one card per account. |
Sample WCF C# Method
AuthServerResponse resp = ValidateCSC("accountLogin", "accountKey", "Mandy", "1234", string.Empty);
Sample WCF C# Repsonse
if (resp.ErrorCode != 0) { message.Text = resp.ErrorMsg; return false; }
REST
REST parameter | data type | description |
---|---|---|
spAccountLoginName | string | SurePassID account login name |
spAccountLoginKey | string | SurePassID account login key |
username | string | user account login name |
type | string | validate_csc |
code | string | Card security code to be verified. |
psn | string | A specific card assigned to this user. If this is left empty then the first device assigned |
Sample REST/Json Method
{ "username": "Mandy", "spAccountLoginName": "accountLogin", "spAccountLoginKey": "acccountKey", "type": "validate_csc", "code": "1234", "psn": "" }
Sample REST/Json Response
{ "errorCode": 9003, "errorMessage": "CSC FAILED - [1234] outside window [size=30] or invalid. ", "type": "validate_csc" }
, multiple selections available,
Related content
Validate Passcode (One Time Passcode)
Validate Passcode (One Time Passcode)
More like this
Validate User
Validate User
More like this
Enable Device
Enable Device
More like this
Activate OATH Device
Activate OATH Device
More like this
Assign Device To User Account
Assign Device To User Account
More like this
Send Passcode (One Time Passcode)
Send Passcode (One Time Passcode)
More like this