Webhook Events
Event envelope
All webhook events use a JSON envelope:
Your handler should branch on
type.
transfer.created
Emitted when a Brale transfer is created.
Example:
- Treat
data.idas the transfer ID. - Additional fields may be present as the transfer schema evolves.
- Your integration should ignore unknown fields.
transfer.completed
Emitted when a Brale transfer reaches complete status.
Use this event to replace polling transfer status.
Example:
- Treat
data.idas the transfer ID. - Treat
data.statusas the completed transfer state. - Additional fields may be present as the transfer schema evolves.
- Your integration should ignore unknown fields.
transfer.failed
Emitted when a Brale transfer reaches failed status.
Use this event to react to permanent transfer failures (e.g., ACH returns or other rail/provider failures). For ACH-specific return details, inspect data.failure.ach_return.
Example:
- Treat
data.idas the transfer ID. - Treat
data.statusas the failed transfer state. data.failureis usually populated fortransfer.failed, but may benullwhen Brale does not have structured failure details. Always null-check before reading nested fields.data.failure.retriableindicates whether the failure is retriable. Spelledretriable, notretryable.data.failure.ach_returnis only set for ACH return failures. See the transferfailurefield for the full schema.- Additional fields may be present as the transfer schema evolves.
- Your integration should ignore unknown fields.
payment.completed
Emitted when a payment reaches complete status.
Example:
transfer.canceled
Emitted when a Brale transfer is canceled.
Example:
- Treat
data.idas the transfer ID. - Treat
data.statusas the canceled transfer state. - Additional fields may be present as the transfer schema evolves.
- Your integration should ignore unknown fields.
account.verification.documents_required
Emitted when Brale’s KYB review determines one or more documents must be uploaded.
Use this event to prompt the account holder to submit the requested documents. For each document with status: "pending_upload", stage the file (use document_kind and person_label from the payload), then link staged submissions. You can also poll required documents instead of using this webhook.
Example:
- Treat
data.account_idas the account ID. - Each entry in
data.documentsdescribes a required document.statusispending_uploaduntil the document is submitted. - Include
person_labelwhen staging individual (KYC) documents. - Your integration should ignore unknown fields.
account.verification.completed
Emitted when account verification completes and the account is enabled.
Example:
- Treat
data.account_idas the account ID. - Treat
data.statusas the completed verification state (complete). - This event fires only when the account reaches
completestatus. - Your integration should ignore unknown fields.
Handling future event types
Brale may add new event types over time. Best practices:- Use
GET /accounts/{account_id}/webhooks/event_typesto discover supported events. - Branch on
event.type. - Acknowledge unknown event types safely.
- Ignore unknown fields in
data. - Do not assume event ordering.
- To automatically receive future events in a family (e.g., new
transfer.*oraccount.*events), subscribe with a namespace wildcard liketransfer.*oraccount.*when you create or update a subscription. Wildcards work for every event family.