Fees

Fee charged

Sent when a fee is charged to an instrument, so fees can be reconciled as they are taken rather than discovered later on a statement.

Enable and configure webhooks in the Embedder Portal; recent events are listed on its Webhook Logs page. Weavr sends this event to {Webhook URL}/fees/watch.

postWebhook/fees/watch

Headers

call-refstring

A call reference generated by the caller and unique to the caller to provide correlation between the caller and system with a maximum length of 255

published-timestampinteger required

The timestamp, expressed in Epoch timestamp using millisecond precision, when this event was published.

signaturestring required

The signature to verify the authenticity of this request. This is the base64 hash (HmacSHA256) of the published-timestamp using your API key.

signature-v2string required

The signature to verify the authenticity of this request. This is the base64 hash (HmacSHA256) of the call-ref + payload + published-timestamp using your API key.

Payload

publishedTimestampinteger required

When the event was published. Epoch timestamp using millisecond precision.

type'COMPLETED' required

The state the fee charge has reached:

  • COMPLETED: the fee was charged. This is a final state.

Example payload

{
  "chargeFee": {
    "id": "123456789",
    "feeSubType": "PRINTED_STATEMENT",
    "source": {
      "id": "123456789",
      "type": "managed_accounts"
    },
    "profileId": "10001"
  },
  "publishedTimestamp": 1786118400000
}

Response

Event received.

Changes

Webhooks have no change history: a webhook is keyed by its event name rather than a path and method, so no recorded change can name it.