This article is incomplete. Please feel free to edit this article to add missing information and complete it. Reason: What are the factors that go into the Poké Miles generated by Pokémon Bank.
Poké Miles (Japanese: ポケマイルPoké Miles) are a type of currency introduced in Pokémon X and Y. They can be earned in a variety of ways, such as by walking around the Kalos and Hoenn regions (1 Mile for every 1000 steps) and by interacting with other players by trading (online, local wireless communication, or infrared connection), battling online or through the 3DS's StreetPass function. They can also be earned by storing Pokémon in Pokémon Bank.
Poké Miles can be exchanged in-game for items or sent to the Pokémon Global Link through Game Sync. Poké Miles cannot be sent back to a game from the Global Link, but they may be transferred between the balances for two games registered to the same Global Link account.
There are a few ways the player may spend Poké Miles.
In the games, a certain NPC will exchange items for the player's Poké Miles.
Poké Miles stored on the Global Link can be exchanged for items online. The number and price of items that are available for exchange vary depending on the number of Medals the player has obtained. Poké Miles can be transferred between games linked to the user's account via the user's profile page.
An Ability Capsule was also able to be purchased for 5000 Poké Miles during special campaigns.