> For the complete documentation index, see [llms.txt](https://docs.vida.id/identity-stack/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.vida.id/identity-stack/verify/id-fraud-shield-sdk/integration-guide/web-sdk/submit-data.md).

# Submit Data

`submitData` is an asynchronous method that returns a Promise. It sends the current fraud-shield signals for evaluation and submits them with your transaction context.

It returns a successful response from VIDA when submission is completed, including server response details for that request. If submission cannot be completed, it throws an error and triggers the configured onError callback from initialization.

```java
async function submitFraudShieldData() {
  try {
    const response = await VidaIdFraudShield.submitData({
      clientTransactionId: 'a9bab349-8e80-43b8-8c40-3fc946e389ew', /* your trx id */
      token: 'YOUR TOKEN',
      signingKey: 'YOUR SIGNING KEY',
    });
    console.log('submitData success:', response);
  } catch (error) {
    console.error('submitData failed:', error);
  }

```

#### Parameters <a href="#parameters" id="parameters"></a>

| Parameter             | Type     | Required | Description                                                                                                                       |
| --------------------- | -------- | -------- | --------------------------------------------------------------------------------------------------------------------------------- |
| `clientTransactionId` | `string` | Yes      | This is your transactionID for the specific flow, this will also be used by customer to fetch the fraud details from VIDA backend |
| `token`               | `string` | Yes      | The bearer token obtained from Vida SSO. Used for authentication.                                                                 |
| `signingKey`          | `string` | Yes      | The signing key shared by Vida. Required for secure submission of data.                                                           |
