Using a Wise multi-currency bank account and Wise API credentials, the module queries the statement for incoming transactions. It then attempts to match the unpaid WHMCS invoices with the invoice number, written in the customer’s payment reference. For WHMCS invoices matching the payment reference, the transaction is registered on WHMCS, marking the invoice as paid and triggering the payment confirmation email for the client.