lib/Paymentwall/GenerericApiObject.php
public function post($params = array(), $headers = array())
	{
		if (empty($params)) {
			return null;
		}

		$this->httpAction->setApiParams($params);

		$this->httpAction->setApiHeaders(array_merge(array($this->getApiBaseHeader()), $headers));

		return (array) $this->preparePropertiesFromResponse(
			$this->httpAction->post(
				$this->getApiUrl()
			)
		);
	}
public function post($params = array(), $headers = array())
	{
		if (empty($params)) {
			return null;
		}

		$this->httpAction->setApiParams($params);

		$this->httpAction->setApiHeaders(array_merge(array($this->getApiBaseHeader()), $headers));

		return (array) $this->preparePropertiesFromResponse(
			$this->httpAction->post(
				$this->getApiUrl()
			)
		);
	}
Make post request

@param array $params
@param array $headers

@return array