Callbacks are used to send real-time notifications on the events that happen on a bunq account.
To receive notifications for certain events on a bunq account, you need to create notification filters. It is possible to send the notifications to a provided URL and/or the user’s phone as push notifications.
notification-filter-push resource to create and manage push notification filters. Provide the type of events you want to receive notifications about in the
Example request body:
notification-filter-url resource to create and manage URL notification filters. The callback URL you provide in the notification_target field must use HTTPS.
Example request body:
notifications for all bunq invoices
notifications for successful card transactions
notifications for failed card transaction
notifications for received chat messages
notifications for creation and updates of draft payments
notifications for iDEAL-deposits towards a bunq account
notifications for SOFORT-deposits towards a bunq account
notifications for any action that affects a monetary account’s balance
notifications for revoked OAuth connections
notifications for payments created from, or received on a bunq account (doesn’t include payments that result out of paying a Request, iDEAL, Sofort or Invoice). Outgoing payments have a negative value while incoming payments have a positive value
notifications for incoming requests and updates on outgoing requests
notifications for when a scheduled payment is executed
notifications about the status of a scheduled payment, e.g. when the scheduled payment is updated or cancelled
notifications for any updates or creation of Connects (ShareInviteBankInquiry)
notifications for updates on Tab payments
notifications for updates on bunq.me Tab (open request) payments
notifications for messages received from us through support chat
A Mutation is a change in the balance of a monetary account. A Mutation is created for each payment-like object, such as a request, iDEAL-payment or a regular payment. Therefore, the
MUTATIONcategory can be used to keep track of a monetary account's balance change.
Callbacks for the sandbox environment will be made from different IP's at AWS.
Callbacks for the production environment will be made from 18.104.22.168/22.
The IP addresses might change. We will notify you in a timely fashion if such a change is planned.
When the execution of a callback fails (e.g. the callback server is down or the response contains an error), we try to resend it for a maximum of 5 times, with an interval of one minute between each try. If your server is not reachable by the callback after the 6th total try, the callback is not sent anymore.
To remove callbacks for an object, send a PUT request to the user-person, user-company, monetary-account or cash-register resource with the
notification_filters field of the JSON request body unset.
We recommend that you use certificate pinning as an extra security measure. We will check if the certificate of the recipient server matches the pinned certificate that you provided and cancel the callback if the check fails or we detect a mismatch.
Retrieve the SSL certificate of your server using the following command:
openssl s_client -servername www.example.com -connect www.example.com:443 < /dev/null | sed -n "/-----BEGIN/,/-----END/p" > www.example.com.pem
POST the certificate to the
Once ready, every callback will be checked against the pinned certificate that you provided. Note that if the SSL certificate on your server expires or is changed, our callbacks will fail.