MangoPay/ApiPayOuts.php
public function Create($payOut, $idempotencyKey = null)
    {
        $paymentKey = $this->GetPaymentKey($payOut);
        return $this->CreateObject('payouts_' . $paymentKey . '_create', $payOut, '\MangoPay\PayOut', null, null, $idempotencyKey);
    }
public function Create($payOut, $idempotencyKey = null)
    {
        $paymentKey = $this->GetPaymentKey($payOut);
        return $this->CreateObject('payouts_' . $paymentKey . '_create', $payOut, '\MangoPay\PayOut', null, null, $idempotencyKey);
    }
public function Create ( $ payOut , $ idempotencyKey = null ) { $ paymentKey = $ this -> GetPaymentKey ( $ payOut ) ; return $ this -> CreateObject ( 'payouts_' . $ paymentKey . '_create' , $ payOut , '\MangoPay\PayOut' , null , null , $ idempotencyKey ) ; }
Create new pay-out
@param PayOut $payOut
@return \MangoPay\PayOut Object returned from API
Create new pay - out