Simulate that the Next Credential Scan Will Succeed

Simulates that the next attempt to scan a credential using the specified encoder will succeed. You can only perform this action within a sandbox workspace.

Simulates that the next attempt to scan a credential using the specified encoder will succeed.

Code

await seam.acs.encoders.simulate.nextCredentialScanWillSucceed({
  acs_encoder_id: "182ea706-8e14-4921-8e57-ee18d5a7de31",
  scenario: "credential_exists_on_seam",
  acs_credential_id_on_seam: "123e4567-e89b-12d3-a456-426614174000",
});

Output

// void
Authentication Methods
  • API key

  • Personal access token Must also include the seam-workspace header in the request.

To learn more, see Authentication.

Request Parameters

acs_encoder_id String (Required)

ID of the acs_encoder that will be used in the next request to scan the acs_credential.


acs_credential_id_on_seam String

ID of the Seam acs_credential that matches the acs_credential on the encoder in this simulation.


scenario String

Scenario to simulate.


Response

void

Last updated

Was this helpful?