src/Judopay/Request.php
public function post($resourcePath, $data)
    {
        $endpointUrl = $this->configuration->get('endpointUrl');

        $request = $this->client->createRequest(
            'POST',
            $endpointUrl.'/'.$resourcePath,
            [
                'json' => $data
            ]
        );

        return $this->send($request);
    }
public function post($resourcePath, $data)
    {
        $endpointUrl = $this->configuration->get('endpointUrl');

        $request = $this->client->createRequest(
            'POST',
            $endpointUrl.'/'.$resourcePath,
            [
                'json' => $data
            ]
        );

        return $this->send($request);
    }
Make a POST request to the specified resource path
@param string $resourcePath
@param array  $data
@return FutureArray|FutureResponse