API Reference
Webhooks

Update a subscription

PATCH/v1/subscriptions/{subscriptionId}
Base URL: https://trace.mimicr.dev · provider: https://api.sandbox.tracefinance.com

Update the URL, resources, or retry behaviour of an existing subscription.

Authorization

Bearer token in the Authorization: Bearer <token> header. See Authentication.

Headers

X-Trace-Versionstring

API version. Omit to use the default version.

Example: "1"
X-Idempotency-Keystring<uuid>required

Unique key to ensure idempotent request processing. Required on all POST, PUT, and PATCH requests.

Path parameters

subscriptionIdstring<uuid>required

UUID of the subscription.

Body

application/json
urlstring<uri>
Example: "https://api.example.com/trace-webhooks-v2"
includeAllboolean

When true, the subscription is reconfigured to receive every resource and event type.

resourcesobject[]

Replacement set of resources. Each entry follows the same shape as on create.

Show child attributes
namestringrequired

The resource group an event belongs to.

ACCOUNTBENEFICIARYOPERATION
Example: "OPERATION"
includeAllboolean

When true, the subscription receives every event type under this resource and the events field is ignored. Defaults to false.

eventsobject[]

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_REQUIRED
allowRetryboolean

Responses

200Updated subscription.
idstring<uuid>required
Example: "8a13c6a4-1a3d-4f49-ad62-9dca8c47e2c6"
companyIdstringrequired

Company identifier that owns the subscription.

Example: "11111111-1111-1111-1111-111111111111"
urlstring<uri>required
Example: "https://api.example.com/trace-webhooks"
resourcesobject[]required

Resources and event types this subscription delivers.

Show child attributes
namestringrequired

The resource group an event belongs to.

ACCOUNTBENEFICIARYOPERATION
Example: "OPERATION"
eventsobject[]required
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_REQUIRED
allowRetrybooleanrequired

Whether failed deliveries are retried.

Example: true
createdAtstring<date-time>required
Example: "2026-04-28T14:32:11Z"
updatedAtstring<date-time>required
Example: "2026-04-28T14:32:11Z"
401Missing or invalid authentication token.
codestringrequired
Example: "RESOURCE_NOT_FOUND"
messagestringrequired
Example: "Subscription with id '8a13c6a4-1a3d-4f49-ad62-9dca8c47e2c6' was not found."
detailsobject
404Subscription not found.
codestringrequired
Example: "RESOURCE_NOT_FOUND"
messagestringrequired
Example: "Subscription with id '8a13c6a4-1a3d-4f49-ad62-9dca8c47e2c6' was not found."
detailsobject