Описание

Проводит предварительный платёж

Необходимая авторизация

Чтобы работать с методом, нужно авторизоваться как менеджер или как пользователь.

Входные параметры

Параметр Тип Обязательный Описание
recordid long Идентификатор предварительного платежа
receipt string Идентификатор платёжного документа
amount double Сумма платежа
paydate string Дата проведения платежа
classid long Класс платежа
cashcode short Код платежа
comment string Комментарий

Возвращаемые параметры

Параметр Тип Обязательный Описание
ret long Идентификатор платежа

Определение типа

<!-- operation request element -->
<element name="confirmPrePayment">
 <complexType>
  <sequence>
   <element name="recordid" type="xsd:long" minOccurs="1" maxOccurs="1"/>
   <element name="receipt" type="xsd:string" minOccurs="1" maxOccurs="1"/>
   <element name="amount" type="xsd:double" minOccurs="0" maxOccurs="1" default="0"/>
   <element name="paydate" type="xsd:string" minOccurs="0" maxOccurs="1" default=""/>
   <element name="classid" type="xsd:long" minOccurs="0" maxOccurs="1" default="0"/>
   <element name="comment" type="xsd:string" minOccurs="0" maxOccurs="1" default=""/>
   <element name="cashcode" type="xsd:short" minOccurs="0" maxOccurs="1" default="1"/>
  </sequence>
 </complexType>
</element>

<!-- operation response element -->
<element name="confirmPrePaymentResponse">
 <complexType>
  <sequence>
   <element name="ret" type="xsd:long" minOccurs="1" maxOccurs="1"/>
  </sequence>
 </complexType>
</element>

Заказать обратный звонок