src/Resource/PaymentResource.php
public function listPayments($userId, $monetaryAccountId)
    {
        $payments = $this->client->get($this->getResourceEndpoint($userId, $monetaryAccountId));
        foreach ($payments['Response'] as $key => $payment) {
            $payments['Response'][$key]['Payment']['amount']['value'] = $this->floatToCents($payment['Payment']['amount']['value']);
        }

        return $payments;
    }
public function listPayments($userId, $monetaryAccountId)
    {
        $payments = $this->client->get($this->getResourceEndpoint($userId, $monetaryAccountId));
        foreach ($payments['Response'] as $key => $payment) {
            $payments['Response'][$key]['Payment']['amount']['value'] = $this->floatToCents($payment['Payment']['amount']['value']);
        }

        return $payments;
    }
public function listPayments ( $ userId , $ monetaryAccountId ) { $ payments = $ this -> client -> get ( $ this -> getResourceEndpoint ( $ userId , $ monetaryAccountId ) ) ; foreach ( $ payments [ 'Response' ] as $ key => $ payment ) { $ payments [ 'Response' ] [ $ key ] [ 'Payment' ] [ 'amount' ] [ 'value' ] = $ this -> floatToCents ( $ payment [ 'Payment' ] [ 'amount' ] [ 'value' ] ) ; } return $ payments ; }
Lists all payments.

@param integer $userId
@param integer $monetaryAccountId

@return array
Lists all payments .