The In-App Purchase (macOS) document has been published to Electron's master branch, but has not yet been included in an Electron release.
In-App Purchase (macOS)