Example Webhook Request

Following is an example webhook request body. The data field is encrypted with the provided key. For more information on how to implement the decryption logic see Webhook Security.

For more examples of using webhooks in specific contexts see Wallet Create Webhooks and Employee Create Webhook Events

Example

base64AESKey = "nZFF/qfwDZVjDFlPbxAkR6tddG6zL2ytim/46HwtIM0="

Request body with encrypted data:

{
    "event_id": "4ddec0de-113f-45cf-9762-32bd3aef932f",
    "event": "WALLET_CREATED",
    "client_type": "ORGANIZATION",
    "client_id": 1,
    "data": "VKGi6HiSKS7oj3HrQzhbh5wUbxzIO7wNgigBzZyylhO7RU0LJ0VbGzHY9tHjNfolFv8n+M1aJ6YThCsYf1M4NrfDU9amy7D0epAstISM/jJ1k1JdFw3xTz3QAhmLRPQ3y6Hdcfi9OAyWbBk2AwnzcIXWgWiFtYYA8dDi8Iv5ITym4DJSS2v7J5yibzeH8Wn8"
}

Decrypted request:

{
    "event_id": "4ddec0de-113f-45cf-9762-32bd3aef932f",
    "event": "WALLET_CREATED",
    "client_type": "ORGANIZATION",
    "client_id": 1,
    "data": {
        "employee_id": "eid1",
        "account_number": "an1",
        "routing_number": "rn1",
        "onboarding_link": "https://test.branchapp.com/ol1"
    }
}