Skip to content

Bank account events
Webhook

Request

Sent when one of your saved bank accounts is added, changed or removed, however it was done (this API or the Dime dashboard). Use these as an alert: an account you did not add is a sign your key may be compromised.

  • bank_account.created: a bank account was added.
  • bank_account.updated: a bank account's details changed.
  • bank_account.deleted: a bank account was removed. payload.bank_account is the account as it was just before.
Headers
X-Dime-Signaturestringrequired

v1= followed by the hex HMAC-SHA256 of the raw body, keyed with the endpoint's signing_secret.

Example:v1=5f2b8c0e9a7d4c1b3e6f8a2d4c6e8b0a1c3e5f7a9b2d4f6a8c0e2b4d6f8a0c2e
X-Dime-Signature-Versionstringrequired

Signing scheme. Always v1.

Example:v1
Value:"v1"
X-Dime-Event-Idstringrequired

The body's event_id.

Example:evt_V1StGXR8Z5jdHi6BmyT2
X-Dime-Event-Typestringrequired

The body's event_type.

Example:payment.succeeded
X-Dime-Attemptstringrequired

The attempt number, 1 for the first and up to 9 with retries.

Example:1
Bodyapplication/jsonrequired
event_idstringrequired

Unique per event, and the same on every redelivery and replay of it. Use it to discard duplicates.

Example:"evt_V1StGXR8Z5jdHi6BmyT2"
event_typestringrequired

What happened. Branch on this, and ignore values you do not recognise: new events may be added.

Enum:"bank_account.created""bank_account.updated""bank_account.deleted"
Example:"bank_account.created"
occurred_atstring, (date-time)required

When Dime sent the event. Events can arrive out of order; use this to order them.

Example:"2026-10-27T15:04:07.112Z"
owner_typestringrequired
Example:"merchant"
Value:"merchant"
owner_idstring or nullrequired

Your merchant token.

Example:"m82yalYupLIdpAz"
addon_subscription_idnull

Always null.

Example:null
resource_typestringrequired
Enum:"payment""refund""chargeback""customer""card_request""subscription""invoice""order""bank_transfer""bank_account"
Example:"bank_account"
Value:"bank_account"
resource_idstring or nullrequired

The token of the record the event is about: a transaction's for payment and refund, otherwise the token of the kind named by resource_type.

Example:"txn_20261027_PBFpP02"
payloadobjectrequired
signature_versionstringrequired
Example:"v1"
Value:"v1"
POST
bankAccountEvent
Payload
{ "event_id": "evt_Pz4wR9cT2yH6nJ8kL1sF", "event_type": "bank_account.created", "occurred_at": "2026-11-04T14:55:03.300Z", "owner_type": "merchant", "owner_id": "m82yalYupLIdpAz", "addon_subscription_id": null, "resource_type": "bank_account", "resource_id": "bac_bEBGGWJo_uNjJq3b1_TSr6c0SS_vvKx2VI", "payload": { "bank_account": { … } }, "signature_version": "v1" }

Responses

Return any 2xx within 7 seconds to acknowledge. Otherwise Dime retries automatically for about 3 days; see Webhooks guide. Replay a delivery sooner, or after it has FAILED, with POST /webhook-events/{token}/replay.