For the complete documentation index, see llms.txt. This page is also available as Markdown.

Webhooks

Txn supports webhooks for the following transaction types:

Webhooks are triggered each time the state of a transaction is updated.

You can configure your webhook URLs on the Developers → Webhook URLs tab in your Txn account.

Webhook URLs page
Developers → Webhook URLs
Create Webhook URL
Enter a label, your endpoint URL, and choose which event types to subscribe to
Save the webhook secret key
Copy and save the secret key — it is shown only once and is used to verify webhook signatures

Associating API keys with webhook URLs

When creating or editing a webhook URL, you can associate one or more API keys with it. All transaction events for resources created by an associated key — invoices, payouts, channels, exchanges, and deposits — are routed to that endpoint.

This lets you route events from different parts of your integration to different endpoints. For example, you could direct invoice events to one service and payout events to another by using separate API keys, each associated with its own webhook URL.

Last updated