Acumatica and linked2pay

Configure Webhook and Get Key

Create the webhook in Acumatica, register its URL in linked2pay, then bring the generated key back to Acumatica.

What you will do

This is one continuous setup. Acumatica generates the callback URL, linked2pay generates the API key for that URL, and the same key is then stored in every active linked2pay processing center in Acumatica.

Before you start

  • The linked2pay integration is published in Acumatica.
  • You can access Webhooks (SM304000) and the linked2pay processing centers.
  • The Acumatica webhook URL is available through public HTTPS so linked2pay can reach it.
  • You are signed in to the correct linked2pay account and environment.

1. Create the webhook in Acumatica

In Acumatica, go to More Items → Configuration → Integration → Preferences → Webhooks (SM304000).

Acumatica linked2pay webhook and generated URL
Acumatica linked2pay webhook and generated URL

Add a webhook named linked2pay.

For Implementation Class, select Linked2PayIntegration.Webhooks.L2PWebhookHandler.

Save the webhook.

Acumatica linked2pay webhook and generated URL

After Acumatica displays the webhook URL, copy it.

Acumatica linked2pay webhook and generated URL

2. Register the URL in linked2pay

Return to the linked2pay portal and open Settings → API Settings.

Acumatica linked2pay webhook and generated URL

Select Add Webhook.

Paste the URL copied from Acumatica into Payload URL.

Select both ACH and Credit Card.

Save the webhook, then copy its generated API Key.

Public access required: A localhost or private-only Acumatica URL cannot receive linked2pay callbacks. Use an approved public HTTPS address; use a temporary tunnel only in an authorized test environment.
linked2pay webhook payload URL and generated API key

3. Put the key back into Acumatica

  1. Return to Acumatica and open each active linked2pay processing center.
  2. Paste the linked2pay API Key into Webhook API Key (WEBHOOKKEY).
  3. Set Webhook Log Level to Metadata and Webhook Retention (Days) to 30 as the recommended starting values.
  4. Save and run Connect & Test.
Keep the key private. If it is changed or rotated in linked2pay, update every active linked2pay processing center in Acumatica immediately.

Verify the connection

  • A valid matching webhook returns HTTP 200 and updates transaction status/history once.
  • A duplicate event returns HTTP 200 without creating duplicate history.
  • A missing or incorrect key returns HTTP 401.
  • An unmatched or out-of-order event returns HTTP 202 and remains available for retry.