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

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

        return $this->processResourceRequestResponse($request);
    }
public function save ( $ body ) { $ request = $ this -> paystackHttpClient -> post ( $ this -> transformUrl ( Resource :: CUSTOMERS_URL , '' ) , [ 'body' => is_array ( $ body ) ? $ this -> toJson ( $ body ) : $ body , ] ) ; return $ this -> processResourceRequestResponse ( $ request ) ; }
create new customer.

@param $body

@return \Exception|mixed
create new customer .