| Crates.io | monzo-webhook |
| lib.rs | monzo-webhook |
| version | 0.4.0 |
| created_at | 2026-01-04 12:42:59.396247+00 |
| updated_at | 2026-01-11 19:45:52.746176+00 |
| description | Serde-compatible structs containing the data from a Monzo bank webhook |
| homepage | https://github.com/lilopkins/monzo-webhook-rs |
| repository | https://github.com/lilopkins/monzo-webhook-rs |
| max_upload_size | |
| id | 2021849 |
| size | 142,448 |
Serde-compatible structs containing the data from a Monzo bank webhook.
For examples of what different webhooks look like, see
src/tests.txt.
When implemented a receiver for a Monzo bank webhook, you can use these structs. For example, with axum:
async fn test_webhook_parse(Json(data): Json<monzo_webhook::Webhook>) -> String {
format!("{data:#?}")
}
This has been tested against the following types of transactions:
If you have any JSON webhook payloads of these types of transactions, I would appreciate seeing them. You are recommended to scrub any sensitive data or ID numbers first, then please open an issue.