Configure Webhooks {#oracle-netsuite-webhooks}
==============================================

Services Requiring Webhooks
---------------------------

These services require a webhook subscription:

* Visa Acceptance Invoicing

Required NetSuite Features
--------------------------

These NetSuite features must be enabled to support webhooks:  
Go to Setup \&gt; Company \&gt; Enable Features to enable features.

* On the Web Presence tab, enable these features:

  * Web site
  * Host HTML files
* On the SuiteCloud tab, enable these features:

  * Client SuiteScript
  * Server SuiteScript
  * SuiteScript Server Pages
    To configure webhooks, go to `Visa Acceptance for SMB` Integration \&gt; Webhook Configurations \&gt; New and enter this information:
* In the Primary Information section, enter a name and description of the webhook.

* In the Webhook Events section, select the desired webhook events.

* In the Symmetric Key Details section, the fields are populated automatically when the webhook subscription is created.

* In the Webhook Configuration section, you can manually enter the merchant credentials for webhook subscriptions or pull the merchant information automatically from an existing Payment Processing Profile or Invoicing Configuration.

{#oracle-netsuite-webhooks_ul_hlf_k5m_xjc}  
When manually entering the merchant credentials, complete these fields:

* In the Merchant ID field, enter your `Visa Acceptance for SMB` Merchant ID.
* In the Key ID field, enter the key ID from your REST shared secret key.
* In the Secret Key field, enter the shared secret from your REST shared secret key.
* In the Test Mode field, enable this field only when the webhooks subscription is created in the Visa Acceptance Platform test environment. Leave unchecked for Live production.
* In the Always Update Keys from PPP field, enable this field to automatically apply key updates from the Payment Processing Profile to the webhook subscription.

When automatically entering the merchant credentials, complete these fields:

* In the Payment Processing Profile field, choose the payment processing profile to collect credentials from.
* In the Invoicing Configuration field, choose the invoicing configuration to collect credentials from.

When the webhook record is saved, a health check runs. This process can take up to 15 minutes to complete.
