Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
cURL
curl --request POST \ --url http://localhost:3000/api/breb/webhook \ --header 'Content-Type: application/json' \ --data ' { "event_id": "wh_1", "event_type": "transfer.updated", "event_object_id": "tr_mock_0001", "event_object_status": "funds_received" } '
const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: JSON.stringify({ event_id: 'wh_1', event_type: 'transfer.updated', event_object_id: 'tr_mock_0001', event_object_status: 'funds_received' }) }; fetch('http://localhost:3000/api/breb/webhook', options) .then(res => res.json()) .then(res => console.log(res)) .catch(err => console.error(err));
import requests url = "http://localhost:3000/api/breb/webhook" payload = { "event_id": "wh_1", "event_type": "transfer.updated", "event_object_id": "tr_mock_0001", "event_object_status": "funds_received" } headers = {"Content-Type": "application/json"} response = requests.post(url, json=payload, headers=headers) print(response.text)
Bridge-only. Dedupes by event_id. funds_received updates the payout even if confirm never arrived.
event_id
funds_received
HMAC-SHA256 hex of the raw body. Skipped when BRIDGE_MOCK=true and no secret is set.
BRIDGE_MOCK=true
"transfer.updated"
"funds_received"
Accepted