Passa al contenuto principale

Login​

[baseUrl]/api/sync/v1/VerifyOTP

Descrizione​

Questa API consente di verificare un OTP richiesto in precedenza.

Parametri Richiesta​

FieldTypeRequiredDefaultDescriptionNotes
OTPstringnullCodice OTP inputato dal utente
TokenstringnullToken ricevuto nella richiesta dell'OTP

Esempio Richiesta​

sh
curl --location '[baseUrl]/api/sync/v1/VerifyOTP' \
--header 'Content-Type: application/json' \
--data '{
"OTP":"7511",
"Token":"{{token_da_api_richiesta}}"
}'

Risposta​

Verifica con esito positivo​

JSON
{
"statusCode": 200,
"errorCode": null,
"message": null,
"result": null,
"debug": null
}

Verifica con esito negativo​

JSON
{
"statusCode": 400,
"errorCode": "4x000",
"message": "Invalid OTP.",
"result": null,
"debug": null
}