• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

8. The PayPal Web Services API > 91. Refund Payments with the API

Refund Payments with the API

Use the API wrapper class to call the RefundTransaction API and refund a payment without logging into the PayPal web site.

Of several things you can do with the API (discussed in the introduction to this chapter), one of the most useful for PayPal’s larger businesses is RefundTransaction, especially for customer service reps who have to process refunds routinely. Requiring your customer service reps to log into PayPal to process a refund requires a lot of time and unnecessary access to your account. With PayPal’s new Refund API, however, you can create an application that retrieves payment transaction data and processes refunds directly from your own custom application. And just like GetTransactionDetails [Hack #90] , you can use the API wrapper to handle the basics and just add the refund-specific code.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint