public function addMerchantPayment($application, \DateTime $effectiveDate, $amount, $token)
    {
        return $this->postDocument(
            '/v4/applications/' . $application . '/merchant-payments',
            [
                'amount' => $amount,
                'effective_date' => $effectiveDate->format('Y-m-d'),
            ],
            $token,
            'Add Merchant Payment'
        );
    }
public function addMerchantPayment($application, \DateTime $effectiveDate, $amount, $token)
    {
        return $this->postDocument(
            '/v4/applications/' . $application . '/merchant-payments',
            [
                'amount' => $amount,
                'effective_date' => $effectiveDate->format('Y-m-d'),
            ],
            $token,
            'Add Merchant Payment'
        );
    }
public function addMerchantPayment ( $ application , \ DateTime $ effectiveDate , $ amount , $ token ) { return $ this -> postDocument ( '/v4/applications/' . $ application . '/merchant-payments' , [ 'amount' => $ amount , 'effective_date' => $ effectiveDate -> format ( 'Y-m-d' ) , ] , $ token , 'Add Merchant Payment' ) ; }
Add a Merchant Payment to the given application. Amount should be supplied in pence.

@author SL
@param string $application
@param \DateTime $effectiveDate
@param int $amount
@param string $token
@return array
Add a Merchant Payment to the given application . Amount should be supplied in pence .