Gets the status of the credential with the given index
status code of the credential, 0 typically means valid
index of the credential (from idx field)
idx