The REST Api for Paypal payment is used when the payment is made from a source other than Paypal account i.e. using a Credit Card information.
Before we verify credit card payments, there are few steps we should do to make REST Api available for our app.
- Get Access Token for your App
- Making sure the recipient is our account
- Check the account and currency of Payment
Access token helps Paypal authenticate our app account and at the same time uniquely identify transactions.
- Getting Access Token