public function initialize($body)
    {
        $request = $this->paystackHttpClient->post(
            Resource::INITIALIZE_TRANSACTION,
            [
                'body'  => is_array($body) ? $this->toJson($body) : $body,
            ]
        );

        return $this->processResourceRequestResponse($request);
    }
public function initialize($body)
    {
        $request = $this->paystackHttpClient->post(
            Resource::INITIALIZE_TRANSACTION,
            [
                'body'  => is_array($body) ? $this->toJson($body) : $body,
            ]
        );

        return $this->processResourceRequestResponse($request);
    }
public function initialize ( $ body ) { $ request = $ this -> paystackHttpClient -> post ( Resource :: INITIALIZE_TRANSACTION , [ 'body' => is_array ( $ body ) ? $ this -> toJson ( $ body ) : $ body , ] ) ; return $ this -> processResourceRequestResponse ( $ request ) ; }
Initialize one time transaction.

@param $body

@return \Exception|mixed
Initialize one time transaction .