Reserving Minecraft Names
When a name becomes available after 37 days, the name can be invalidated for 24 hours by typing a gift code wrong. Not sure if this was put in for a reason, but it keeps people from getting a name when it becomes available.
Here's an example
https://account.mojang.com/checkProfileName?profileName=reservebug&agent=minecraft
No profile for "reservebug"
https://api.mojang.com/users/profiles/minecraft/reservebug?at=0
https://api.mojang.com/user/profile/agent/minecraft/name/reservebug