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
base64AESKey = "nZFF/qfwDZVjDFlPbxAkR6tddG6zL2ytim/46HwtIM0="
Request body with encrypted data:
{
"event": "ORGANIZATION_INITIALIZED_ACCOUNT_CREATED",
"event_id": UUID,
"client_type": "ORGANIZATION",
"client_id": 1,
"data": "VKGi6HiSKS7oj3HrQzhbh5wUbxzIO7wNgigBzZyylhO7RU0LJ0VbGzHY9tHjNfolFv8n+M1aJ6YThCsYf1M4NrfDU9amy7D0epAstISM/jJ1k1JdFw3xTz3QAhmLRPQ3y6Hdcfi9OAyWbBk2AwnzcIXWgWiFtYYA8dDi8Iv5ITym4DJSS2v7J5yibzeH8Wn8"
}
Decrypted request body should look like the following after decrypting the data field:
{
"event": "ORGANIZATION_INITIALIZED_ACCOUNT_CREATED",
"event_id": UUID,
"client_type": "ORGANIZATION",
"client_id": 1,
"data": {
"employee_id": "eid1",
"account_number": "an1",
"routing_number": "rn1",
"onboarding_link": "https://test.branchapp.com/ol1"
}
}