API Reference
Create a subscription
/v1/subscriptionshttps://trace.mimicr.dev · provider: https://api.sandbox.tracefinance.comRegister a webhook subscription for a resource. Trace Finance will POST events to the supplied URL.
Authorization
Bearer token in the Authorization: Bearer <token> header. See Authentication.
Headers
API version. Omit to use the default version.
"1"Unique key to ensure idempotent request processing. Required on all POST, PUT, and PATCH requests.
Body
application/jsonHTTPS URL where Trace Finance will POST event payloads. Must be reachable from the public internet.
"https://api.example.com/trace-webhooks"When true, the subscription is created for every resource and event type, and the resources field is ignored. Defaults to false.
Resources the subscription should listen to. Required when includeAll is false. Each resource name must be unique.
Show child attributes
The resource group an event belongs to.
ACCOUNTBENEFICIARYOPERATION"OPERATION"When true, the subscription receives every event type under this resource and the events field is ignored. Defaults to false.
Specific event types to receive. Required when includeAll is false.
15 values
ACCOUNT_CREATEDACCOUNT_ACTION_REQUIREDACCOUNT_ASSET_ACTIVATEDACCOUNT_ASSET_FAILEDBENEFICIARY_INSTRUCTION_CREATEDBENEFICIARY_INSTRUCTION_APPROVEDBENEFICIARY_INSTRUCTION_REJECTEDBENEFICIARY_INSTRUCTION_ACTION_REQUIREDOPERATION_REQUESTEDOPERATION_PROCESSINGOPERATION_COMPLETEDOPERATION_FAILEDOPERATION_REFUNDINGOPERATION_REFUNDEDOPERATION_ACTION_REQUIREDWhether failed deliveries should be retried. Defaults to false.
Responses
201Subscription created.
"8a13c6a4-1a3d-4f49-ad62-9dca8c47e2c6"Company identifier that owns the subscription.
"11111111-1111-1111-1111-111111111111""https://api.example.com/trace-webhooks"Resources and event types this subscription delivers.
Show child attributes
The resource group an event belongs to.
ACCOUNTBENEFICIARYOPERATION"OPERATION"15 values
ACCOUNT_CREATEDACCOUNT_ACTION_REQUIREDACCOUNT_ASSET_ACTIVATEDACCOUNT_ASSET_FAILEDBENEFICIARY_INSTRUCTION_CREATEDBENEFICIARY_INSTRUCTION_APPROVEDBENEFICIARY_INSTRUCTION_REJECTEDBENEFICIARY_INSTRUCTION_ACTION_REQUIREDOPERATION_REQUESTEDOPERATION_PROCESSINGOPERATION_COMPLETEDOPERATION_FAILEDOPERATION_REFUNDINGOPERATION_REFUNDEDOPERATION_ACTION_REQUIREDWhether failed deliveries are retried.
true"2026-04-28T14:32:11Z""2026-04-28T14:32:11Z"400Validation error.
"RESOURCE_NOT_FOUND""Subscription with id '8a13c6a4-1a3d-4f49-ad62-9dca8c47e2c6' was not found."401Missing or invalid authentication token.
"RESOURCE_NOT_FOUND""Subscription with id '8a13c6a4-1a3d-4f49-ad62-9dca8c47e2c6' was not found."