inNameWire colorDescription
1VBUSRed+5 V
2D−WhiteData−
3D+GreenData+
4IDN/APermits detection of which end of a cable is plugged in, “A” connector (host): connected to the signal ground, “B” connector (device): not connected
5GNDBlackSignal ground

Source of the information:

https://www.neverstopbuilding.com/blog/wiring-micro-usb-pinout