App-to-User Payments
App-to-User payments will allow you to transact Pi from your application to your users. This type of transaction may often be used following a User-to-App transaction.
For example, a marketplace app may receive Pi from a buyer in a user-to-app transaction and then will create an app-to-user transaction to award the seller their Pi, allowing the marketplace app to easily keep their cut of the transaction.
Usage with NPM Package
Do not hard code your wallet secret key! Always store as an environment variable.
Last updated
Was this helpful?