Wallets - Example Webhooks

Example Webhooks from wallets

Transfer Created to In Review:

 "api_version": "v0",
  "event_id": "wh_tsnxHcpCtydQHgyc3wrszhm",
  "event_sequence": 2,
  "event_category": "transfer",
  "event_type": "transfer.created",
  "event_object_id": "b4b0a37e-8d45-43d8-8176-bec11814cbad",
  "event_object_status": "in_review",
  "event_object": {
    "id": "b4b0a37e-8d45-43d8-8176-bec11814cbad",
    "state": "in_review",
    "amount": "100000.0",
    "source": {
      "currency": "usdb",
      "payment_rail": "bridge_wallet",
      "bridge_wallet_id": "8ac81aaf-f0b9-4ddb-9f99-a23c85007235"
    },
    "receipt": {
      "gas_fee": "0.0",
      "exchange_fee": "0.0",
      "final_amount": "100000.0",
      "developer_fee": "0.0",
      "initial_amount": "100000.0",
      "subtotal_amount": "100000.0"
    },
    "currency": "usd",
    "created_at": "2024-10-15T13:52:14.605Z",
    "updated_at": "2024-10-15T13:52:14.615Z",
    "destination": {
      "currency": "usdb",
      "to_address": "Hz1uPW2taCT79WMDkxKoF2e7C5cN8fj8JjMEKxuFA6QB",
      "payment_rail": "solana"
    },
    "on_behalf_of": "3e2f523f-4a5e-4655-a122-c24c8333aef1",
    "developer_fee": "0.0",
    "client_reference_id": null
  },
  "event_object_changes": {},
  "event_created_at": "2024-10-15T13:52:15.767Z"
}

Moves from in review to funds received:

  "api_version": "v0",
  "event_id": "wh_tsC4SEChGfbH4gXNyd828Gn",
  "event_sequence": 3,
  "event_category": "transfer",
  "event_type": "transfer.updated.status_transitioned",
  "event_object_id": "b4b0a37e-8d45-43d8-8176-bec11814cbad",
  "event_object_status": "funds_received",
  "event_object": {
    "id": "b4b0a37e-8d45-43d8-8176-bec11814cbad",
    "state": "funds_received",
    "amount": "100000.0",
    "source": {
      "currency": "usdb",
      "payment_rail": "bridge_wallet",
      "bridge_wallet_id": "8ac81aaf-f0b9-4ddb-9f99-a23c85007235"
    },
    "receipt": {
      "gas_fee": "0.0",
      "exchange_fee": "0.0",
      "final_amount": "100000.0",
      "developer_fee": "0.0",
      "initial_amount": "100000.0",
      "subtotal_amount": "100000.0"
    },
    "currency": "usd",
    "created_at": "2024-10-15T13:52:14.605Z",
    "updated_at": "2024-10-15T13:52:15.421Z",
    "destination": {
      "currency": "usdb",
      "to_address": "Hz1uPW2taCT79WMDkxKoF2e7C5cN8fj8JjMEKxuFA6QB",
      "payment_rail": "solana"
    },
    "on_behalf_of": "3e2f523f-4a5e-4655-a122-c24c8333aef1",
    "developer_fee": "0.0",
    "client_reference_id": null
  },
  "event_object_changes": {
    "state": [
      "in_review",
      "funds_received"
    ],
    "updated_at": [
      "2024-10-15T13:52:14.615Z",
      "2024-10-15T13:52:15.421Z"
    ]
  },
  "event_created_at": "2024-10-15T13:52:15.827Z"
}

Moves from funds received to payment submitted:

 "api_version": "v0",
  "event_id": "wh_thYyW2Ahbq6BDapuuns2PCM",
  "event_sequence": 4,
  "event_category": "transfer",
  "event_type": "transfer.updated.status_transitioned",
  "event_object_id": "b4b0a37e-8d45-43d8-8176-bec11814cbad",
  "event_object_status": "payment_submitted",
  "event_object": {
    "id": "b4b0a37e-8d45-43d8-8176-bec11814cbad",
    "state": "payment_submitted",
    "amount": "100000.0",
    "source": {
      "currency": "usdb",
      "payment_rail": "bridge_wallet",
      "bridge_wallet_id": "8ac81aaf-f0b9-4ddb-9f99-a23c85007235"
    },
    "receipt": {
      "gas_fee": "0.0",
      "exchange_fee": "0.0",
      "final_amount": "100000.0",
      "developer_fee": "0.0",
      "initial_amount": "100000.0",
      "subtotal_amount": "100000.0"
    },
    "currency": "usd",
    "created_at": "2024-10-15T13:52:14.605Z",
    "updated_at": "2024-10-15T13:52:18.976Z",
    "destination": {
      "currency": "usdb",
      "to_address": "Hz1uPW2taCT79WMDkxKoF2e7C5cN8fj8JjMEKxuFA6QB",
      "payment_rail": "solana"
    },
    "on_behalf_of": "3e2f523f-4a5e-4655-a122-c24c8333aef1",
    "developer_fee": "0.0",
    "client_reference_id": null
  },
  "event_object_changes": {
    "state": [
      "funds_received",
      "payment_submitted"
    ],
    "updated_at": [
      "2024-10-15T13:52:15.421Z",
      "2024-10-15T13:52:18.976Z"
    ]
  },
  "event_created_at": "2024-10-15T13:52:19.416Z"
}

Moves from payment submitted to payment processed:

"api_version": "v0",
  "event_id": "wh_th3YMqn46GBovTDcdjYaEA9",
  "event_sequence": 5,
  "event_category": "transfer",
  "event_type": "transfer.updated.status_transitioned",
  "event_object_id": "b4b0a37e-8d45-43d8-8176-bec11814cbad",
  "event_object_status": "payment_processed",
  "event_object": {
    "id": "b4b0a37e-8d45-43d8-8176-bec11814cbad",
    "state": "payment_processed",
    "amount": "100000.0",
    "source": {
      "currency": "usdb",
      "payment_rail": "bridge_wallet",
      "bridge_wallet_id": "8ac81aaf-f0b9-4ddb-9f99-a23c85007235"
    },
    "receipt": {
      "url": "https://dashboard.bridge.xyz/transaction/b4b0a37e-8d45-43d8-8176-bec11814cbad/receipt/f1cf966a-5849-4fe4-935f-f3c56afffee7",
      "gas_fee": "0.0",
      "exchange_fee": "0.0",
      "final_amount": "100000.0",
      "developer_fee": "0.0",
      "initial_amount": "100000.0",
      "subtotal_amount": "100000.0",
      "destination_tx_hash": "a tx hash"
    },
    "currency": "usd",
    "created_at": "2024-10-15T13:52:14.605Z",
    "updated_at": "2024-10-15T13:52:20.227Z",
    "destination": {
      "currency": "usdb",
      "to_address": "Hz1uPW2taCT79WMDkxKoF2e7C5cN8fj8JjMEKxuFA6QB",
      "payment_rail": "solana"
    },
    "on_behalf_of": "3e2f523f-4a5e-4655-a122-c24c8333aef1",
    "developer_fee": "0.0",
    "client_reference_id": null
  },
  "event_object_changes": {
    "state": [
      "payment_submitted",
      "payment_processed"
    ],
    "receipt": [
      {
        "gas_fee": "0.0",
        "exchange_fee": "0.0",
        "final_amount": "100000.0",
        "developer_fee": "0.0",
        "initial_amount": "100000.0",
        "subtotal_amount": "100000.0"
      },
      {
        "url": "https://dashboard.bridge.xyz/transaction/b4b0a37e-8d45-43d8-8176-bec11814cbad/receipt/f1cf966a-5849-4fe4-935f-f3c56afffee7",
        "gas_fee": "0.0",
        "exchange_fee": "0.0",
        "final_amount": "100000.0",
        "developer_fee": "0.0",
        "initial_amount": "100000.0",
        "subtotal_amount": "100000.0",
        "destination_tx_hash": "a tx hash"
      }
    ],
    "updated_at": [
      "2024-10-15T13:52:18.976Z",
      "2024-10-15T13:52:20.227Z"
    ]
  },
  "event_created_at": "2024-10-15T13:52:20.443Z"
}