public List < GenericTransaction > getDetails ( final String payoutId , final TransactionsPayoutType transactionsPayoutType , final PaginationParams pagination ) throws OpenpayServiceException , ServiceUnavailableException { String path = String . format ( PAYOUT_TRANSACTIONS_DETAILS_PATH , this . getMerchantId ( ) , payoutId ) ; Map < String , String > params = new HashMap < String , String > ( ) ; if ( pagination != null ) { params . putAll ( pagination . asMap ( ) ) ; } params . put ( "detail_type" , transactionsPayoutType . name ( ) . toLowerCase ( ) ) ; return this . getJsonClient ( ) . list ( path , params , GenericTransaction . class ) ; }
Retrieves the list of transactions that affected the payout . . Transactions in the IN or OUT type of detail add their fee to the total while the ones in CHARGED_ADJUSTMENTS and REFUNDED_ADJUSTMENTS add their amount .