Login to your MB account via username and password.
Your MB Bank login credentials: username and password.
Your MB Bank login username, usually your registered phone number.
Your MB Bank login password.
Readonly
usernameYour MB account username.
Readonly
passwordYour MB account password.
Private
sessionMB-returned Session ID. Use it to validate the request.
Private
deviceYour non-unique, time-based Device ID.
Undici client. Use it for sending the request to API.
Private
wasmWASM Buffer, downloaded from MB.
Private
loginPrivate
getPrivate
mbGets your account's balance info.
Your MB account's balance object.
Gets all your transactions on MB.
The data that function requires.
The MB's account number needs to be checked.
The date you want to start looking up, format dd/mm/yyyy. Make sure this is not smaller than 90 days from the ending date.
The date you want to end the lookup, format dd/mm/yyyy. Make sure this is not bigger than 90 days from the starting date.
TransactionInfo object as an array, see TransactionInfo for more details.
If you want to get transactions history from account "1234567890", from 1/12/2023 to 1/1/2024:
<MB>.getTransactionsHistory({ accountNumber: "1234567890", fromDate: "1/12/2023", toDate: "1/1/2024" });
Generated using TypeDoc
Main client class for all activities.