title: Which paypal api to just fetch all transactions
body: <p>Very confused by the crowd of paypal-APIs, I wonder if I just can fetch the transactions (in and out) somehow, just like I would it export to csv via webinterface.</p>
  
  <p>Here I am:</p>
  
  <ul>
  <li><a href="https://github.com/paypal/PayPal-Ruby-SDK" rel="nofollow">REST-API</a> seems not working for "non-rest-transactions" <code>Payment.all.size == 0</code>  <a href="https://stackoverflow.com/questions/21801436/paypal-rest-api-list-payments-returns-no-entries">paypal-rest-api-list-payments-returns-no-entries</a></li>
  <li><p>Merchant-API does not allow detailed info for specific transactions. 
  <a href="https://developer.paypal.com/webapps/developer/docs/classic/api/merchant/GetTransactionDetails_API_Operation_SOAP/" rel="nofollow">https://developer.paypal.com/webapps/developer/docs/classic/api/merchant/GetTransactionDetails_API_Operation_SOAP/</a> says:</p>
  
  <blockquote>
    <p>Note The details for some kinds of transactions cannot be retrieved
    with GetTransactionDetails. You cannot obtain details of bank transfer
    withdrawals, for example.</p>
  </blockquote>
  
  <p>I recieved a view transactions via transactionSearch. Took the transactionId from one of the transactions.</p>
  
  <pre><code>api.get_transaction_details(:transaction_id =&gt; transaction_id&gt;)
  =&gt; #&lt;PayPal::SDK::Merchant::DataTypes::GetTransactionDetailsResponseType:0x007fd3c0f1f8d8 
  @Ack="Failure", 
  @Errors=[#&lt;PayPal::SDK::Merchant::DataTypes::ErrorType:0x007fd3c0f379d8 
    @ShortMessage="Invalid transaction type", 
    @LongMessage="You can not get the details for this type of transaction", 
    @ErrorCode="10004", 
    @SeverityCode="Error"&gt;]
  </code></pre></li>
  <li>Adaptive-API (<code>PaymentDetails</code> with transactionID) throws an "internal error 520002" with no details. (And I found no specification if it could fetch all transactions)</li>
  </ul>
  
  <p>Ok, it's Paypal. But there must be a simple solution they forgot to mention. (?!) Or what did I miss?</p>
  
  <p>Thanks and regards, Phil</p>