A rails example app for Paypal Payoutr API calls using the gem paypal-sdk-rest.
$ cp .env.sample .env
Then edit .env
and fill your Paypal Rest client id and secret.
rake db:setup
- Create a new
Payee
with an email to send the payout notification. - Choose one currency.
- Fill a balance value.
- Fill an email subject for new payout batch.
- Select payees to send your batch
- Click on Post at the bottom left of the payout batch details page.
- Click on Refresh to update the status of your batch.