Interface VerificationStatusResponse
- All Known Subinterfaces:
VerificationStatusResponseFlashCall,VerificationStatusResponsePhoneCall,VerificationStatusResponseSms,VerificationStatusResponseWhatsApp
public interface VerificationStatusResponse
Verification Status Response Common Fields
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceDedicated Builder -
Method Summary
Modifier and TypeMethodDescriptionThe ID of the country to which the verification was sent.getId()The unique ID of the verification request.Get identityGet reasonUsed to pass your own reference in the request for tracking purposes.Get statusThe timestamp in UTC format.
-
Method Details
-
getId
String getId()The unique ID of the verification request.- Returns:
- id
-
getStatus
VerificationStatus getStatus()Get status- Returns:
- status
-
getReason
VerificationStatusReason getReason()Get reason- Returns:
- reason
-
getReference
String getReference()Used to pass your own reference in the request for tracking purposes. Must be a unique value for each started verification request. The value must be encodable in the URL path segment. This value is passed to all events and returned from the status and report endpoints. The reference can be used to check the status of verifications, like with ID or identity.- Returns:
- reference
-
getIdentity
Identity getIdentity()Get identity- Returns:
- identity
-
getCountryId
String getCountryId()The ID of the country to which the verification was sent.- Returns:
- countryId
-
getVerificationTimestamp
Instant getVerificationTimestamp()The timestamp in UTC format.
Note: The formatting does not respectISO-8601and the returned value has the formatYYYY-MM-DDThh:mm:ss.SSS. If you need to parse this value into a specific date object in your programming language, please appendZ(Zulu time = UTC) at the end of the date value to match theISO-8601format:YYYY-MM-DDThh:mm:ss.SSSZ.- Returns:
- verificationTimestamp
-