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
}