src/FintechFab/QiwiSdk/Gateway.php
public function createBill(
		$orderId, $tel, $sum, $comment = null, $lifetime = null
	)
	{
		$this->checkSum($sum);
		if ($this->getError()) {
			return false;
		}

		if (null == $lifetime) {
			$dateExpired = new \DateTime();
			$dateExpired->add(new \DateInterval("P1D"));
			$dateExpiredString = $dateExpired->format(\DateTime::ATOM);
		} else {
			$dateExpiredString = date('Y-m-d\TH:i:s', strtotime($lifetime));
		}

		$bill = array(
			'user'     => 'tel:' . $tel,
			'amount'   => $sum,
			'ccy'      => 'RUB',
			'comment'  => $comment,
			'lifetime' => $dateExpiredString,
			'prv_name' => self::getConfig('provider.name'),
		);
		$oResponse = $this->curl->request($orderId, 'PUT', $bill);

		$this->parseError($oResponse);

		return $this->getError()
			? false
			: true;

	}
public function createBill(
		$orderId, $tel, $sum, $comment = null, $lifetime = null
	)
	{
		$this->checkSum($sum);
		if ($this->getError()) {
			return false;
		}

		if (null == $lifetime) {
			$dateExpired = new \DateTime();
			$dateExpired->add(new \DateInterval("P1D"));
			$dateExpiredString = $dateExpired->format(\DateTime::ATOM);
		} else {
			$dateExpiredString = date('Y-m-d\TH:i:s', strtotime($lifetime));
		}

		$bill = array(
			'user'     => 'tel:' . $tel,
			'amount'   => $sum,
			'ccy'      => 'RUB',
			'comment'  => $comment,
			'lifetime' => $dateExpiredString,
			'prv_name' => self::getConfig('provider.name'),
		);
		$oResponse = $this->curl->request($orderId, 'PUT', $bill);

		$this->parseError($oResponse);

		return $this->getError()
			? false
			: true;

	}
Если счёт создан - возвращает true

@param string $orderId  - Уникальный в магазине id заказа
@param string $tel      - Номер телефона клиента
@param float  $sum      - Сумма заказа
@param string $comment  - Комментарий к заказу
@param string $lifetime - Срок действия заказа

@return bool