Connect Asaas to Nevian

Time needed: about 10 minutesLast updated:

Connect Asaas so sales and payment changes reach Nevian and can be matched to the visit that brought the buyer.

What you need

  • A Asaas account with permission to configure notifications.
  • An active Nevian plan and an owner, admin or member role. Viewers cannot connect integrations.
  • Keep the checkout and Nevian tabs open side by side.

Steps

  1. In Nevian, open Integrations → Add integration (Connect provider in an empty workspace), choose Asaas and click Next with the platform open in another tab.

    Drawing: Connect Asaas. 1 · Open platform: Have your account open in another tab; 2 · Copy the URL: Next creates your private connection URL
  2. Copy the complete Webhook URL. Keep it private and leave this window open while you configure Asaas.

    Drawing: Connect Asaas. Webhook URL: https://track.example.com/wh/asaas/••••••••; Webhook Auth Token: Required account fields are saved with Next
  3. In Asaas, open Menu do usuário → Integrações → Webhooks → Criar Webhook.

    Drawing: Asaas · webhook configuration. Nome: Nevian payments; URL: Paste the Nevian URL; Auth Token: Generate a token for this webhook
  4. Enter a name and URL, generate an Auth Token, enable delivery and select the payment events below. Use a dedicated webhook token, not your API key.

    Drawing: Asaas · delivery settings. Destination: Your private Nevian Webhook URL; Scope: The products and events described in this step
  5. Return to Nevian, if you use the optional token, enter Webhook Auth Token and click Next to save it. Use the same value configured for this webhook; for a token you generate yourself, use that exact value in both places. Leave an optional token empty in both places if you do not use it.

    Drawing: Connect Asaas. Webhook Auth Token: ••••••••••••••••; Keep private: Never put account credentials in a page or ad link
  6. Back in Nevian, go on to the last step of the window. It reads Connected. Waiting for the first sale. Click Done: your first sale shows up by itself.

    Drawing: Connect Asaas. Connection: Connected; Last event: Received just now

Select PAYMENT_CREATED, PAYMENT_CONFIRMED, PAYMENT_RECEIVED, PAYMENT_OVERDUE, PAYMENT_DELETED, PAYMENT_REFUNDED, PAYMENT_PARTIALLY_REFUNDED, PAYMENT_REFUND_IN_PROGRESS, PAYMENT_CHARGEBACK_REQUESTED, PAYMENT_CHARGEBACK_DISPUTE, PAYMENT_AWAITING_RISK_ANALYSIS, PAYMENT_REPROVED_BY_RISK_ANALYSIS and PAYMENT_CREDIT_CARD_CAPTURE_REFUSED. Subscription payments do not calculate MRR here.

Check that it works

  • The Asaas card in Integrations shows it as connected right away, waiting for the first sale.
  • The first real sale shows up in Logs → Webhooks and in the reports. A delivered webhook can be logged without creating a sale when the event is informational.
  • Nevian cannot tell an Asaas sandbox payment from a real one. If one arrives, it is recorded as a sale: open it in Logs → Conversions and click Mark as test, and it stays out of revenue.
  • When your server creates a charge, put the visit ID in externalReference, either alone or as btk=<click ID>. Asaas payment events have no buyer email for fallback matching; shared payment links can remain unattributed.

Problems

No sale shows up after a real sale

Check the complete URL, event subscriptions and product scope. If you rotated the integration key, replace the URL in the provider too.

The call was rejected

Read the reason in Logs → Webhooks. Check the secret when one is configured. After you fix it, resend the rejected event from the provider, so it is not lost.

No matching click

A call that is not linked to a visit means the buyer reached the checkout without the click ID: follow the click ID instructions above.

Still stuck? Chat with us on WhatsApp or write to contact@nevian.io.

Images are our own drawings and configuration diagrams, not screenshots. Use the current values from your account; the examples contain no live credentials.