In Pokémon GO: Poké Ball menu → Settings → Connected devices and Services → Nintendo Switch → Connect to Nintendo Switch → pick your game.
Then press the button above.
In Pokémon GO: Items → Scrapbook → pick a postcard → SEND TO NINTENDO SWITCH.
Then press the button above to receive it.
Requires a browser with Web Bluetooth support (e.g. Chrome or Edge on desktop or Android).
Source / Author: https://github.com/na-ji/pokemon-go-coin-bag/