Connect PagBank to Nevian
Connect PagBank so sales and payment changes reach Nevian and can be matched to the visit that brought the buyer.
What you need
Availability. This connection is not available in this version of the panel yet. Use this guide to prepare the account settings; continue only when its named integration and credential fields appear in your workspace. Do not send its events to Custom or another provider URL.
- A PagBank 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
In Nevian, open Integrations → Add integration (Connect provider in an empty workspace), choose PagBank and click Next with the platform open in another tab.

Copy the complete Webhook URL. Keep it private and leave this window open while you configure PagBank.

On the PagBank account website, open Vendas → Integrações → Gerar token. The token and the account email are required in Nevian when this connection becomes available.

For Orders API requests, put the URL in
notification_urls. For hosted checkouts, usepayment_notification_urls: checkoutnotification_urlsalone describes checkout status, not the payment.
Return to Nevian, enter PagBank API token and click Next to save it. Copy it from the same account and webhook you just configured.

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.

The account email is needed for the notification API. This guide does not create any new storage for personal data. Do not configure credentials until the matching fields are available in your workspace.
Check that it works
- The PagBank 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.
- Orders from PagBank’s sandbox are recorded as tests and never count in revenue. Legacy notifications that carry only a notification code are logged without creating a sale.
- For orders, put the visit ID in
metadata.btkand use the same uniquereference_idfor order and charge. For hosted checkouts, use the visit ID orbtk=<click ID>inreference_id.
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 [email protected].
Images are our own drawings and configuration diagrams, not screenshots. Use the current values from your account; the examples contain no live credentials.