Skip to content

Bank transfer events
Webhook

Request

Sent as a bank transfer moves through Dime's approval, however it was sent (this API or the Dime dashboard).

  • bank_transfer.created: the transfer was created and is waiting for Dime's approval. The amount plus fee has left the wallet.
  • bank_transfer.approved: Dime approved it and the funds were sent to the bank account.
  • bank_transfer.rejected: Dime rejected it. The amount plus fee is returned to the wallet, and rejection_reason says why.
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_transfer.created""bank_transfer.approved""bank_transfer.rejected"
Example:"bank_transfer.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_transfer"
Value:"bank_transfer"
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
bankTransferEvent
Payload
{ "event_id": "evt_Kq7rB2mN5xW8zT1vC4dP", "event_type": "bank_transfer.approved", "occurred_at": "2026-11-04T18:20:41.002Z", "owner_type": "merchant", "owner_id": "m82yalYupLIdpAz", "addon_subscription_id": null, "resource_type": "bank_transfer", "resource_id": "btf_zxjtBCUY_83nlZ4Wq_p6v0JBtV_nsPOe7P", "payload": { "bank_transfer": { … } }, "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.