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).
Add a webhook named linked2pay.
For Implementation Class, select
Linked2PayIntegration.Webhooks.L2PWebhookHandler.
Save the webhook.
After Acumatica displays the webhook URL, copy it.
2. Register the URL in linked2pay
Return to the linked2pay portal and open Settings → API Settings.
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.
3. Put the key back into Acumatica
- Return to Acumatica and open each active linked2pay processing center.
-
Paste the linked2pay API Key into
Webhook API Key (
WEBHOOKKEY). -
Set Webhook Log Level to
Metadata and
Webhook Retention (Days) to
30as the recommended starting values. - Save and run Connect & Test.
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.
