I need to transfer money form an accountant to some employees using PayPal, from within an internal application. On PayPal website it is specified that a transfer of money is free(inside USA) or that the fee is smaller than for payments (outside USA).
The scenario is:
- login as accountant in the internal application
- click a button: pay employee
- if the accountant is not logged into PayPal, he should be redirected to the PayPal page and login
- only after the accountant has logged in, he can do the money transfer
- the accountant goes to PayPal and approves the money transfers
I saw the options of using Classic API or Rest API.However, I did't find a call for "transfer money" I have found only "create payment" options and succeeded in implementing the "pay" call using Classic API credentials.
So, how do I transfer money from one account to the other using PayPal. What it's better to use: Rest API or Classic API? How exactly to I use any of the two opetions?
Thanks