Documentation Index
Fetch the complete documentation index at: https://tracefinance-docs-withdrawal-beneficiary-events.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Overview
A subscription is the binding between a customer-controlled URL and one or more resources (optionally narrowed to specific event types per resource). You create subscriptions through the Subscriptions API and can have several active at once — typically one per environment.Create a subscription
Send aPOST /api/subscriptions request with the URL Trace should call and the resources you want to listen to.
id, the resolved resources (each resource with its full event-type list), and createdAt. Trace begins delivering matching events immediately.
The URL must be HTTPS and reachable from the public internet. Self-signed certificates and private networks are not supported.
Subscribe to every resource
SetincludeAll: true at the top level to receive every event type from every resource. Useful when you have a single handler that fans out internally.
Scope to specific event types
To narrow delivery for a resource, pass anevents array on its SubscriptionResourceRequest instead of includeAll:
resources must have a unique name. Fetch the full list of resources and their event types programmatically with GET /references/ResourceName/all.
Multiple subscriptions
You can register multiple subscriptions — for example, one URL for production and another for staging, or different URLs for different resource subsets. Each subscription is delivered independently; a single event can fan out to several endpoints. There is a per-company limit on active subscriptions.List, update, and delete
Use the rest of the Subscriptions API to manage existing subscriptions:GET /api/subscriptions— list subscriptions for your customerGET /api/subscriptions/{subscriptionId}— fetch onePATCH /api/subscriptions/{subscriptionId}— change URL, resources, orallowRetryDELETE /api/subscriptions/{subscriptionId}— permanently remove
Update resources or URL
SendPATCH /api/subscriptions/{subscriptionId} with only the fields you want to change. To replace the resource list, pass a new resources array — it overwrites the existing set.
{ "allowRetry": false }.
Related
- Verify signatures — confirm requests came from Trace
- Retry policy — understand what happens when your endpoint is down
- Test in sandbox — drive events for development