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 – RequestedResult was CardNumberCvv or ProcessorAccountNumber.

  • Change PIN – RequestedResult was ChangeCardPin; include <NewPin> in the request.

NOTE: A valid SessionId from 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>123456</Token>
  </ServiceParams>
</PraxellXMLRequest>

Success response

Change Card PIN

Success response


ℹ️ The OTP is valid for 10 minutes. A second failed attempt will invalidate the SessionId, requiring a new Request OTP cycle.

Last updated