We have a system that sends money to our users via the PayPal MassPay API and it works fine, but here is the problem: I can't find a way to retrieve the status of the MassPay transaction through PayPal's API.
The first thing I looked into was using the PayPal 'GetTransactionDetails' API call, but that requires the transaction ID, which is not returned by the original PayPal MassPay API call. When a MassPay is issued, here is the PayPal response: https://gist.github.com/3860194
As you can see in the response, PayPal issues me a correlation ID, but no transaction ID. My next thought was to use the 'TransactionSearch' API call, but that does not accept a correlation ID either. I even tried doing a broad TransactionSearch based on the TransactionClass parameter ('MassPay') and StartDate, but the responses don't contain any information (email or correlation ID) that allows me to know for certain which search result is my original request.
Has anyone worked with PayPal's API to search/retrieve a transaction ID through the correlation ID?