src/Resource/PaymentResource.php
public function getPayment($userId, $monetaryAccountId, $id)
    {
        $paymentResponse = $this->client->get($this->getResourceEndpoint($userId, $monetaryAccountId) . '/' . (int)$id);

        $payment = $paymentResponse['Response'][0]['Payment'];

        $payment['amount']['value'] = $this->floatToCents($payment['amount']['value']);

        return $payment;
    }
public function getPayment($userId, $monetaryAccountId, $id)
    {
        $paymentResponse = $this->client->get($this->getResourceEndpoint($userId, $monetaryAccountId) . '/' . (int)$id);

        $payment = $paymentResponse['Response'][0]['Payment'];

        $payment['amount']['value'] = $this->floatToCents($payment['amount']['value']);

        return $payment;
    }
public function getPayment ( $ userId , $ monetaryAccountId , $ id ) { $ paymentResponse = $ this -> client -> get ( $ this -> getResourceEndpoint ( $ userId , $ monetaryAccountId ) . '/' . ( int ) $ id ) ; $ payment = $ paymentResponse [ 'Response' ] [ 0 ] [ 'Payment' ] ; $ payment [ 'amount' ] [ 'value' ] = $ this -> floatToCents ( $ payment [ 'amount' ] [ 'value' ] ) ; return $ payment ; }
Gets a user its payment information.

@param integer $userId
@param integer $monetaryAccountId
@param integer $id

@return array
Gets a user its payment information .