Paypal API - 返回失败的定期帐户交易[关闭]

I was wondering if there was a way to return a list of failed recurring account transactions.

I have a client who wants to have the actual list embedded on his site and doesn't want to have to log into the dashboard every single time.

I have looked all through the API yet I cannot find anything about it.

A good direction on where to look would really help as well.

Thank you.

There isn't any API that will return those directly, but you could use Instant Payment Notification (IPN) to save details about recurring payments / profiles.

Any time a new profile is created or a payment is completed, skipped, failed, etc. you would get an IPN for that transaction. Within your IPN script you can save details to your database and then pull from your own database to display the data however you need.