arduino to mikrotik

need help..

is there a tutorials or guide from communicating arduino to mikrotik routerOS using command line?

i have DUE r3 board and router 750gr3 mikrotik.

the idea is to add a username and password or voucher to the router using the arduino (by push button or pulse)

thanks for advance.

need to learn the script or codes.