public function pay($gateway, $method, $paymentParams)
    {
        return $this->call('POST', ['data' => $this->mergePayData($gateway, $method, $paymentParams)], $this->getID() . '/payments');
    }
public function pay($gateway, $method, $paymentParams)
    {
        return $this->call('POST', ['data' => $this->mergePayData($gateway, $method, $paymentParams)], $this->getID() . '/payments');
    }
public function pay ( $ gateway , $ method , $ paymentParams ) { return $ this -> call ( 'POST' , [ 'data' => $ this -> mergePayData ( $ gateway , $ method , $ paymentParams ) ] , $ this -> getID ( ) . '/payments' ) ; }
Pay for the order

@param string $gateway the slug of the payment gateway
@param string $method the order method (eg 'purchase')
@param array $paymentParams payment params to use in the payment (eg card details, but this depends on the $gateway selected - see docs for more info)
@return Moltin\Response
Pay for the order