Verify OTP
The Verify OTP API validates the One-Time Password previously generated by Request OTP and either returns the requested sensitive data or sets a new card PIN, depending on the original RequestedResult.
- Retrieve data β
RequestedResultwasCardNumberCvvorProcessorAccountNumber. - Change PIN β
RequestedResultwasChangeCardPin; include<NewPin>in the request.
NOTE: A valid
SessionIdfrom the successful Request OTP call is mandatory.
π₯ Input Parameters
| Name | Required | Definition | Comments |
|---|---|---|---|
Token |
Y | Numeric (6) Six-digit OTP supplied by the cardholder |
Unique within the OTP validity window |
NewPin |
β | Numeric (4) New PIN value |
Required when RequestedResult = ChangeCardPin |
π» Output Parameters
| Name | Definition | Failure Case | Success Case | Comments |
|---|---|---|---|---|
RequestedResult |
One of: CardNumber, ProcessorAccountNumber, ChangeCardPin |
β | Returned | Mirrors the original purpose |
RequestedValue |
Sensitive value corresponding to RequestedResult (e.g. PAN) |
Not returned | Returned when applicable | Not present for PIN-change requests |
π XML Samples
Retrieve Card Number (data access)
<?xml version="1.0"?>
<PraxellXMLRequest>
<AuthenticationDetails>
<SessionId>38097317201110064</SessionId>
</AuthenticationDetails>
<ServiceDetails>
<UniqueRequestId>963369551</UniqueRequestId>
<ServiceName>VerifyOTP</ServiceName>
</ServiceDetails>
<Origin>
<OriginType>ExtAPI</OriginType>
</Origin>
<ServiceParams>
<Token>your_token</Token>
</ServiceParams>
</PraxellXMLRequest>
Success response
<?xml version="1.0"?>
<PraxellXMLResponse>
<ResponseDetails>
<ServiceName>VerifyOTP</ServiceName>
<SessionId>38097317201110064</SessionId>
<StatusCode>0</StatusCode>
<StatusName>StatusOK</StatusName>
<StatusDescription>OK</StatusDescription>
<ServiceDate>2025-05-29 05:20:40</ServiceDate>
<ServiceId>38097317201110064</ServiceId>
</ResponseDetails>
<ResponseParams>
<RequestedResult>CardNumberCvv</RequestedResult>
<RequestedValue>5555555555554440,xxx</RequestedValue>
</ResponseParams>
</PraxellXMLResponse>
Change Card PIN
<?xml version="1.0"?>
<PraxellXMLRequest>
<AuthenticationDetails>
<SessionId>2a995fa8-7a61-4322-95da-1a85af108806</SessionId>
</AuthenticationDetails>
<ServiceDetails>
<UniqueRequestId>875221</UniqueRequestId>
<ServiceName>VerifyOTP</ServiceName>
</ServiceDetails>
<Origin>
<OriginType>ExtAPI</OriginType>
</Origin>
<ServiceParams>
<Token>your_token</Token>
<NewPin>3511</NewPin>
</ServiceParams>
</PraxellXMLRequest>
Success response
<?xml version="1.0"?>
<PraxellXMLResponse>
<ResponseDetails>
<ServiceName>VerifyOTP</ServiceName>
<SessionId>2a995fa8-7a61-4322-95da-1a85af108806</SessionId>
<StatusCode>0</StatusCode>
<StatusName>StatusOK</StatusName>
<StatusDescription>OK</StatusDescription>
<ServiceDate>2025-05-29 05:22:06</ServiceDate>
<ServiceId>f0336c90-68e8-4981-9237-c7c289b64950</ServiceId>
</ResponseDetails>
<ResponseParams>
<RequestedResult>ChangeCardPin</RequestedResult>
<RequestedValue/>
</ResponseParams>
</PraxellXMLResponse>
βΉοΈ The OTP is valid for 10 minutes. A second failed attempt will invalidate the SessionId, requiring a new Request OTP cycle.