monobank statement
monobank can send your statement to an address: one request for every operation on all your accounts — the card and the account of a sole proprietor (FOP) alike, money in and money out. AlphaFlow keeps the money that comes in and skips the money that goes out. The statement has no phone of the payer, so it is a notice for you or your accountant, not for the buyer: money has come to the FOP account, from whom and with what comment.
This page is written from the public documentation of monobank and has not been checked on a live account yet.
What you need
- A monobank account. It is free for any client from 16; FOP accounts come in the same statement.
- Your personal monobank token and one command — no developer, but you run it in a terminal or an online HTTP client.
- One address per token. The command replaces the address set before. If accounting software or a bot already gets your statement by this token, it stops getting it.
- The notices go to the phone you set in the connection — yours or your accountant's. The statement has no phone of the payer.
- The personal API of monobank is for private use: services that collect data of clients are sent by the bank to its corporate API.
Step 1. Create a connection
- Open
Flows → Connections, press Connect a system and choose monobank. - Press Copy address. It looks like
https://events.alphasms.net/hooks/<TOKEN>— keep it secret.
Step 2. Set the address in monobank
-
Open api.monobank.ua, sign in with the monobank app (by the QR code) and copy your token. Do not give it to anyone, us included.
-
Run the command below with your token in place of
YOUR_TOKENand the address from the cabinet in place ofFLOW_ADDRESS. On a Mac — in Terminal; on Windows — in PowerShell, withcurl.exeinstead ofcurl; or in any online HTTP client: methodPOST, the addresshttps://api.monobank.ua/personal/webhook, the headerX-Tokenand the body from the command.curl -X POST https://api.monobank.ua/personal/webhook -H "X-Token: YOUR_TOKEN" -H "Content-Type: application/json" -d '{"webHookUrl":"FLOW_ADDRESS"}' -
monobank checks the address at once with a
GETrequest. The address answers200, and from then on every operation comes to AlphaFlow. The check itself is not an event. -
In the connection, set the phone for the notices — yours or your accountant's.
-
Money out is skipped by AlphaFlow itself. If you need one account only, add a condition to the flow:
accountequal to the id of that account.
Step 3. Send a test
Transfer 1 UAH to your card or FOP account from another card. The event appears in
Flows → Connections → Event journal within seconds, and the
connection shows Recognised: monobank.
Events
| monobank | AlphaFlow event | Properties |
|---|---|---|
StatementItem — money in | payment_succeeded | account, amount, currency_code, description, comment, counter_name, counter_iban, balance, operation_id |
amountis in kopecks:95000is 950 UAH. Money out comes from monobank too, withamountbelow zero, and AlphaFlow skips it.currency_codeis a number:980is UAH.accountis the id of the card or the FOP account: filter by it.commentis the comment of the payer and may be absent;counter_nameis the name of the other side;counter_ibancomes for FOP accounts only.
The statement has no contact of the payer. The notice goes to the phone you set in the connection; without it the
event is refused with no_contact.
payment_succeeded is not among the events of the ready-made templates (see
Recommended events): create the flow
From scratch and choose the event as its start.
Good to know
- monobank waits 5 seconds for
200. Without it, it repeats after 60 and 600 seconds, and after the third failure switches the webhook off — then run the command again. - Every operation has its own id, so a repeat is not recorded twice.
- monobank does not sign the requests: the protection is the secret in the address. Keep both the token and the address to yourself.
- The address always answers
200. Above the daily event limit the event is refused in AlphaFlow withquota_exceededand shown in the journal; the webhook in monobank stays on. - For payments by monobank acquiring (plata by mono) see monobank acquiring.