{"openapi":"3.1.0","info":{"title":"Wallet Statement Webhooks API","description":"API documentation for webhooks emitted when a wallet statement report is generated.","version":"1.0.0"},"webhooks":{"walletStatement.generated":{"post":{"operationId":"walletStatement_generated","tags":["Wallet Statement"],"x-atlas-webhook":true,"summary":"Statement generated","description":"Sent when a wallet statement with at least one transaction is generated. `event.url` links to the statement file.","requestBody":{"required":true,"content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/WalletStatementWebhook"},{"required":["event"],"properties":{"event":{"required":["url"],"properties":{"transactionCount":{"type":"integer","minimum":1}}}}}]},"examples":{"wallet_statement_generated":{"summary":"Wallet Statement — statement file ready","value":{"eventId":"3f2b8c1e-7a4d-4e5f-9b6a-1c2d3e4f5a6b","eventType":"wallet.statement.generated","createdAt":"2026-10-12T09:15:30.123Z","event":{"walletId":"4521","companyId":"12345","createdAt":"2026-10-12T09:15:30.123Z","dateFrom":"2026-09-01T00:00:00.000Z","dateTill":"2026-09-30T23:59:59.999Z","url":"https://reports.vertofx.com/statements/wallet-statement-4521.pdf","transactionCount":42}}}}}}},"responses":{"200":{"description":"Acknowledged successfully."}}}}},"components":{"schemas":{"WalletStatementWebhook":{"type":"object","required":["eventId","eventType","createdAt","event"],"properties":{"eventId":{"type":"string","format":"uuid","description":"Unique ID of this event."},"eventType":{"type":"string","enum":["wallet.statement.generated"]},"createdAt":{"type":"string","format":"date-time","description":"When the event was emitted."},"companyId":{"type":"string","description":"Only present on a parent company's copy of a sub-account event; identifies the originating sub-account."},"event":{"$ref":"#/components/schemas/WalletStatementEvent"}}},"WalletStatementEvent":{"type":"object","required":["walletId","companyId","createdAt","dateFrom","dateTill","transactionCount"],"properties":{"walletId":{"type":"string","description":"Wallet the statement was generated for."},"companyId":{"type":"string","description":"Verto company ID the wallet belongs to."},"createdAt":{"type":"string","format":"date-time","description":"When the statement was generated."},"dateFrom":{"type":"string","format":"date-time","description":"Start of the statement period."},"dateTill":{"type":"string","format":"date-time","description":"End of the statement period."},"url":{"type":"string","format":"uri","description":"Download link for the statement file. Omitted when transactionCount is 0."},"transactionCount":{"type":"integer","minimum":0,"description":"Number of transactions in the statement."}}}}}}