There are different DOI provider with different interfaces for DOI registration. Let us start with DataCite (used for miless and IntR2Dok). But the implementation should be expandable for other formats and interfaces from other providers.
Here you find the DataCite API v2 for datacentres
And under you find the commits for mods2datacite stylesheet. MIR already uses this functionality (see for more details).