Login

[baseUrl]/api/sync/v1/VerifyOTP

Descrizione

Questa API consente di verificare un OTP richiesto in precedenza.

Parametri Richiesta

Field Type Required Default Description Notes
OTP string ✅ null Codice OTP inputato dal utente
Token string ✅ null Token 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
}