POST api/payment

Добавление/редактирование платежа При добавлении ID не передается

Request Information

URI Parameters

None.

Body Parameters

Объект платежа

PaymentItem
NameDescriptionTypeAdditional information
PartnerLegalEntityId

ID юр. лица контрагента

integer

None.

PartnerLegalEntityName

Юр. лицо контрагента

string

None.

Direction

Направление

PaymentDirection

None.

DiscountCardId

Скидочная карта по платежу (бонусная программа 1)

integer

None.

CashId

ID кассы

integer

None.

ClientDebt

Долг клиента

decimal number

None.

ClientPrice

Цена клиента

decimal number

None.

CashName

Касса

string

None.

PaymentAccountId

ID расчетного счета

integer

None.

PaymentAccountName

Расчетный счет

string

None.

TargetPrice

Стоимость

decimal number

None.

TargetCurrencyId

Валюта путевки/заявки

integer

None.

PaymentDetails

Детализации платежа по путевкам Могут бть указаны: 1. Только суммы распределения и курсы по путевке 2. По каждой путевке отдельно указаны распределения по заявкам (в путевке может быть более одной заявки) и курс к валюте заявки (в таком случае указывать размер распределения по путевкам и курс к валюте путевки не обязательно)

Collection of PaymentDetailData

None.

RegularPayments

Распределения по требованиям на оплату

Collection of RegularPaymentRelation

None.

CertificateId

ID сертификата

integer

None.

CertificateNumber

Номер сертификата

string

None.

PaymentMethodId

integer

None.

ContragentType

Тип контрагента

ContragentType

None.

ContragentName

Контрагент ФИО туриста пр расчете с клиентом ФЛ Партнер при расчете с оператором или с клиентом ЮЛ

string

None.

ContragentID

ID контрагента

integer

None.

PaymentDate

Дата платежа

SerializedDateTime

None.

CreateDate

Дата создания

SerializedDateTime

None.

ChangeDate

Дата изменения

SerializedDateTime

None.

Manager

Создатель

string

None.

PaySystemType

Тип платежной системы

string

None.

PaySystemDocumentNumber

Документ в платежной системе

string

None.

Sum

Сумма платежа

decimal number

None.

SumVat

Сумма НДС (св-во nullable, т.к. НДС может не быть)

decimal number

None.

Course

Курс валюты

decimal number

None.

CurrencyId

ID валюты

integer

None.

DocumentNumber

Номер документа

string

None.

AccountNumber

Номер счёта

string

None.

PaymentFor

основание платежа- выбирается из тех, что получены запросом к БД МА

string

None.

PaymentType

тип платежа

string

None.

PaymentTypeId

ID типа платежа

integer

None.

AgreementCode

Код путевки

string

None.

Comment

Примечание

string

None.

RequestNumbers

Номер заявки у ТО

Collection of string

None.

PaymentOperationID

ID платежной операции

integer

None.

PaymentContragent

контрагент для неосновных платежей

string

None.

DetailId

ID детализации (только при запросе детализаций)

integer

None.

Id

ID платежа

integer

None.

Receipment

Получатель

string

None.

ReceipmentInn

ИНН получателя

string

None.

ReceipmentKpp

КПП получателя

string

None.

Payer

Плательщик

string

None.

PayerInn

ИНН плательщика

string

None.

PayerKpp

КПП плательщика

string

None.

ContractorTypeName

Контрагент

string

None.

BankCommission

Комиссия банка за операцию. Учитывается в том случае, если при платеже не вся сумма поступила на расчетный счёт и была удержана комиссия

decimal number

None.

DirectionName

Направление платежа

string

None.

RateArticleName

Статья расхода

string

None.

PaymentOperationName

Платежная операция

string

None.

CreditKindOfPayId

ID проводки по кредиту

integer

None.

CreditKindOfPayName

Проводка по кредиту

string

None.

DebitKindOfPayId

ID проводки по дебиту

integer

None.

RateArticleId

ID статьи расхода

integer

None.

Debt

Задолженность

decimal number

None.

DebitKindOfPayName

Проводка по дебиту

string

None.

UnusedSum

нераспределенный остаток суммы платежа

decimal number

None.

AgreementCost

Стоимость путевки (вал.путевки)

decimal number

None.

AgreementDept

Долг (вал.путевки)

decimal number

None.

SumInAgreementCurrency

распределено в валюте путевки

decimal number

None.

AgreementCurrency

Валюта путевки

string

None.

SumInPaymentCurrency

распределено в валюте платежа

decimal number

None.

AgreementCurrencyId

ID валюты путевки

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "PartnerLegalEntityId": 1,
  "PartnerLegalEntityName": "sample string 1",
  "Direction": 0,
  "RegularPaymentId": 1,
  "RegularPaymentName": "sample string 2",
  "DiscountCardId": 1,
  "CashId": 1,
  "ClientDebt": 3.1,
  "ClientPrice": 4.1,
  "CashName": "sample string 5",
  "PaymentAccountId": 1,
  "SubAgentCashId": 1,
  "SubAgentPaymentAccountId": 1,
  "SubAgentPaymentOperationId": 1,
  "SubAgentPaymentTypeId": 1,
  "PaymentAccountName": "sample string 6",
  "TargetPrice": 7.1,
  "TargetCurrencyId": 8,
  "PaymentDetails": [
    {
      "Code": "sample string 1",
      "Spread": 2.0,
      "Course": 3.0,
      "Comment": "sample string 4",
      "CarryOverOfFunds": "sample string 5",
      "ClientPrice": 6.1,
      "ClientDebt": 7.1,
      "Date": {
        "Serialized": "01.01.1970",
        "HasValue": true,
        "Milliseconds": 3,
        "Format": "sample string 4"
      },
      "OrderPrices": [
        {
          "OperatorId": 1,
          "OperatorName": "sample string 2",
          "CurrencyId": 3,
          "RequestId": 4,
          "RequestCode": "sample string 5",
          "OrderPrice": 6.1,
          "OrderDebt": 7.1,
          "CourseToAgreement": 8.1,
          "Spread": 9.1,
          "Course": 10.1
        },
        {
          "OperatorId": 1,
          "OperatorName": "sample string 2",
          "CurrencyId": 3,
          "RequestId": 4,
          "RequestCode": "sample string 5",
          "OrderPrice": 6.1,
          "OrderDebt": 7.1,
          "CourseToAgreement": 8.1,
          "Spread": 9.1,
          "Course": 10.1
        }
      ],
      "Debt": 8.1,
      "TargetCurrencyId": 9,
      "TargetPrice": 10.1,
      "CertificateId": 1,
      "CertificateNumber": "sample string 11"
    },
    {
      "Code": "sample string 1",
      "Spread": 2.0,
      "Course": 3.0,
      "Comment": "sample string 4",
      "CarryOverOfFunds": "sample string 5",
      "ClientPrice": 6.1,
      "ClientDebt": 7.1,
      "Date": {
        "Serialized": "01.01.1970",
        "HasValue": true,
        "Milliseconds": 3,
        "Format": "sample string 4"
      },
      "OrderPrices": [
        {
          "OperatorId": 1,
          "OperatorName": "sample string 2",
          "CurrencyId": 3,
          "RequestId": 4,
          "RequestCode": "sample string 5",
          "OrderPrice": 6.1,
          "OrderDebt": 7.1,
          "CourseToAgreement": 8.1,
          "Spread": 9.1,
          "Course": 10.1
        },
        {
          "OperatorId": 1,
          "OperatorName": "sample string 2",
          "CurrencyId": 3,
          "RequestId": 4,
          "RequestCode": "sample string 5",
          "OrderPrice": 6.1,
          "OrderDebt": 7.1,
          "CourseToAgreement": 8.1,
          "Spread": 9.1,
          "Course": 10.1
        }
      ],
      "Debt": 8.1,
      "TargetCurrencyId": 9,
      "TargetPrice": 10.1,
      "CertificateId": 1,
      "CertificateNumber": "sample string 11"
    }
  ],
  "RegularPayments": [
    {
      "RegularPaymentId": 1,
      "RegularPaymentName": "sample string 2",
      "Spread": 3.0,
      "Comment": "sample string 4",
      "PaymentDetails": [
        {
          "Code": "sample string 1",
          "Spread": 2.0,
          "Course": 3.0,
          "Comment": "sample string 4",
          "CarryOverOfFunds": "sample string 5",
          "ClientPrice": 6.1,
          "ClientDebt": 7.1,
          "Date": {
            "Serialized": "01.01.1970",
            "HasValue": true,
            "Milliseconds": 3,
            "Format": "sample string 4"
          },
          "OrderPrices": [
            {
              "OperatorId": 1,
              "OperatorName": "sample string 2",
              "CurrencyId": 3,
              "RequestId": 4,
              "RequestCode": "sample string 5",
              "OrderPrice": 6.1,
              "OrderDebt": 7.1,
              "CourseToAgreement": 8.1,
              "Spread": 9.1,
              "Course": 10.1
            },
            {
              "OperatorId": 1,
              "OperatorName": "sample string 2",
              "CurrencyId": 3,
              "RequestId": 4,
              "RequestCode": "sample string 5",
              "OrderPrice": 6.1,
              "OrderDebt": 7.1,
              "CourseToAgreement": 8.1,
              "Spread": 9.1,
              "Course": 10.1
            }
          ],
          "Debt": 8.1,
          "TargetCurrencyId": 9,
          "TargetPrice": 10.1,
          "CertificateId": 1,
          "CertificateNumber": "sample string 11"
        },
        {
          "Code": "sample string 1",
          "Spread": 2.0,
          "Course": 3.0,
          "Comment": "sample string 4",
          "CarryOverOfFunds": "sample string 5",
          "ClientPrice": 6.1,
          "ClientDebt": 7.1,
          "Date": {
            "Serialized": "01.01.1970",
            "HasValue": true,
            "Milliseconds": 3,
            "Format": "sample string 4"
          },
          "OrderPrices": [
            {
              "OperatorId": 1,
              "OperatorName": "sample string 2",
              "CurrencyId": 3,
              "RequestId": 4,
              "RequestCode": "sample string 5",
              "OrderPrice": 6.1,
              "OrderDebt": 7.1,
              "CourseToAgreement": 8.1,
              "Spread": 9.1,
              "Course": 10.1
            },
            {
              "OperatorId": 1,
              "OperatorName": "sample string 2",
              "CurrencyId": 3,
              "RequestId": 4,
              "RequestCode": "sample string 5",
              "OrderPrice": 6.1,
              "OrderDebt": 7.1,
              "CourseToAgreement": 8.1,
              "Spread": 9.1,
              "Course": 10.1
            }
          ],
          "Debt": 8.1,
          "TargetCurrencyId": 9,
          "TargetPrice": 10.1,
          "CertificateId": 1,
          "CertificateNumber": "sample string 11"
        }
      ]
    },
    {
      "RegularPaymentId": 1,
      "RegularPaymentName": "sample string 2",
      "Spread": 3.0,
      "Comment": "sample string 4",
      "PaymentDetails": [
        {
          "Code": "sample string 1",
          "Spread": 2.0,
          "Course": 3.0,
          "Comment": "sample string 4",
          "CarryOverOfFunds": "sample string 5",
          "ClientPrice": 6.1,
          "ClientDebt": 7.1,
          "Date": {
            "Serialized": "01.01.1970",
            "HasValue": true,
            "Milliseconds": 3,
            "Format": "sample string 4"
          },
          "OrderPrices": [
            {
              "OperatorId": 1,
              "OperatorName": "sample string 2",
              "CurrencyId": 3,
              "RequestId": 4,
              "RequestCode": "sample string 5",
              "OrderPrice": 6.1,
              "OrderDebt": 7.1,
              "CourseToAgreement": 8.1,
              "Spread": 9.1,
              "Course": 10.1
            },
            {
              "OperatorId": 1,
              "OperatorName": "sample string 2",
              "CurrencyId": 3,
              "RequestId": 4,
              "RequestCode": "sample string 5",
              "OrderPrice": 6.1,
              "OrderDebt": 7.1,
              "CourseToAgreement": 8.1,
              "Spread": 9.1,
              "Course": 10.1
            }
          ],
          "Debt": 8.1,
          "TargetCurrencyId": 9,
          "TargetPrice": 10.1,
          "CertificateId": 1,
          "CertificateNumber": "sample string 11"
        },
        {
          "Code": "sample string 1",
          "Spread": 2.0,
          "Course": 3.0,
          "Comment": "sample string 4",
          "CarryOverOfFunds": "sample string 5",
          "ClientPrice": 6.1,
          "ClientDebt": 7.1,
          "Date": {
            "Serialized": "01.01.1970",
            "HasValue": true,
            "Milliseconds": 3,
            "Format": "sample string 4"
          },
          "OrderPrices": [
            {
              "OperatorId": 1,
              "OperatorName": "sample string 2",
              "CurrencyId": 3,
              "RequestId": 4,
              "RequestCode": "sample string 5",
              "OrderPrice": 6.1,
              "OrderDebt": 7.1,
              "CourseToAgreement": 8.1,
              "Spread": 9.1,
              "Course": 10.1
            },
            {
              "OperatorId": 1,
              "OperatorName": "sample string 2",
              "CurrencyId": 3,
              "RequestId": 4,
              "RequestCode": "sample string 5",
              "OrderPrice": 6.1,
              "OrderDebt": 7.1,
              "CourseToAgreement": 8.1,
              "Spread": 9.1,
              "Course": 10.1
            }
          ],
          "Debt": 8.1,
          "TargetCurrencyId": 9,
          "TargetPrice": 10.1,
          "CertificateId": 1,
          "CertificateNumber": "sample string 11"
        }
      ]
    }
  ],
  "FiskalDocuments": [
    {
      "Id": 1,
      "PaymentId": 1,
      "HoldId": 1,
      "OnlineCashId": 2,
      "OnlineCashName": "sample string 3",
      "ExternalOperationId": "sample string 4",
      "DocumentTypeId": 5,
      "OperationTypeId": 6,
      "BillProvideTypeId": 7,
      "ResultTypeId": 8,
      "Sum": 9.0,
      "Created": "2024-11-23T17:15:41.1259648+03:00",
      "ShiftNumber": "sample string 11",
      "FiskalNumber": "sample string 12",
      "DocumentInShiftNumber": "sample string 13",
      "FiskalDocumentDateTime": "2024-11-23T17:15:41.1259648+03:00"
    },
    {
      "Id": 1,
      "PaymentId": 1,
      "HoldId": 1,
      "OnlineCashId": 2,
      "OnlineCashName": "sample string 3",
      "ExternalOperationId": "sample string 4",
      "DocumentTypeId": 5,
      "OperationTypeId": 6,
      "BillProvideTypeId": 7,
      "ResultTypeId": 8,
      "Sum": 9.0,
      "Created": "2024-11-23T17:15:41.1259648+03:00",
      "ShiftNumber": "sample string 11",
      "FiskalNumber": "sample string 12",
      "DocumentInShiftNumber": "sample string 13",
      "FiskalDocumentDateTime": "2024-11-23T17:15:41.1259648+03:00"
    }
  ],
  "CertificateId": 1,
  "CertificateNumber": "sample string 9",
  "PaymentMethodId": 1,
  "ContragentSubType": "None",
  "ContragentType": "ALL",
  "ContragentName": "sample string 10",
  "ContragentID": 11,
  "PaymentDate": {
    "Serialized": "01.01.1970",
    "HasValue": true,
    "Milliseconds": 3,
    "Format": "sample string 4"
  },
  "CreateDate": {
    "Serialized": "01.01.1970",
    "HasValue": true,
    "Milliseconds": 3,
    "Format": "sample string 4"
  },
  "ChangeDate": {
    "Serialized": "01.01.1970",
    "HasValue": true,
    "Milliseconds": 3,
    "Format": "sample string 4"
  },
  "Manager": "sample string 12",
  "PaySystemType": "sample string 13",
  "PaySystemDocumentNumber": "sample string 14",
  "Sum": 15.1,
  "SumVat": 1.1,
  "Course": 1.1,
  "Currency": "sample string 16",
  "CurrencyId": 17,
  "DocumentNumber": "sample string 18",
  "AccountNumber": "sample string 19",
  "PaymentFor": "sample string 20",
  "PaymentType": "sample string 21",
  "PaymentTypeId": 22,
  "AgreementCode": "sample string 23",
  "Comment": "sample string 24",
  "RequestNumbers": [
    "sample string 1",
    "sample string 2"
  ],
  "PaymentOperationID": 25,
  "PaymentContragent": "sample string 26",
  "ID": 29,
  "DetailId": 28,
  "Id": 29,
  "Receipment": "sample string 30",
  "ReceipmentInn": "sample string 31",
  "ReceipmentKpp": "sample string 32",
  "Payer": "sample string 33",
  "PayerInn": "sample string 34",
  "PayerKpp": "sample string 35",
  "ContractorTypeName": "",
  "BankCommission": 36.1,
  "DirectionName": "приход",
  "RateArticleName": "sample string 37",
  "PaymentOperationName": "sample string 38",
  "CreditKindOfPayId": 1,
  "CreditKindOfPayName": "sample string 39",
  "DebitKindOfPayId": 1,
  "RateArticleId": 1,
  "Debt": 40.1,
  "DebitKindOfPayName": "sample string 41",
  "UnusedSum": 42.1,
  "AgreementCost": 43.1,
  "AgreementDept": 44.1,
  "SumInAgreementCurrency": 45.1,
  "AgreementCurrency": "sample string 46",
  "SumInPaymentCurrency": 47.1,
  "AgreementCurrencyId": 48
}

application/xml, text/xml

Sample:
<PaymentItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.Payment.Contract">
  <_x003C_AccountNumber_x003E_k__BackingField>sample string 19</_x003C_AccountNumber_x003E_k__BackingField>
  <_x003C_AgreementCode_x003E_k__BackingField>sample string 23</_x003C_AgreementCode_x003E_k__BackingField>
  <_x003C_AgreementCost_x003E_k__BackingField>43.1</_x003C_AgreementCost_x003E_k__BackingField>
  <_x003C_AgreementCurrencyId_x003E_k__BackingField>48</_x003C_AgreementCurrencyId_x003E_k__BackingField>
  <_x003C_AgreementCurrency_x003E_k__BackingField>sample string 46</_x003C_AgreementCurrency_x003E_k__BackingField>
  <_x003C_AgreementDept_x003E_k__BackingField>44.1</_x003C_AgreementDept_x003E_k__BackingField>
  <_x003C_BankCommission_x003E_k__BackingField>36.1</_x003C_BankCommission_x003E_k__BackingField>
  <_x003C_ChangeDate_x003E_k__BackingField xmlns:d2p1="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.Common.Contract">
    <d2p1:_format>sample string 4</d2p1:_format>
    <d2p1:_serialized>01.01.1970</d2p1:_serialized>
    <d2p1:_value>1970-01-01T03:00:00.003+03:00</d2p1:_value>
  </_x003C_ChangeDate_x003E_k__BackingField>
  <_x003C_Comment_x003E_k__BackingField>sample string 24</_x003C_Comment_x003E_k__BackingField>
  <_x003C_ContragentID_x003E_k__BackingField>11</_x003C_ContragentID_x003E_k__BackingField>
  <_x003C_ContragentName_x003E_k__BackingField>sample string 10</_x003C_ContragentName_x003E_k__BackingField>
  <_x003C_ContragentSubType_x003E_k__BackingField>None</_x003C_ContragentSubType_x003E_k__BackingField>
  <_x003C_ContragentType_x003E_k__BackingField>ALL</_x003C_ContragentType_x003E_k__BackingField>
  <_x003C_Course_x003E_k__BackingField>1.1</_x003C_Course_x003E_k__BackingField>
  <_x003C_CreateDate_x003E_k__BackingField xmlns:d2p1="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.Common.Contract">
    <d2p1:_format>sample string 4</d2p1:_format>
    <d2p1:_serialized>01.01.1970</d2p1:_serialized>
    <d2p1:_value>1970-01-01T03:00:00.003+03:00</d2p1:_value>
  </_x003C_CreateDate_x003E_k__BackingField>
  <_x003C_CreditKindOfPayId_x003E_k__BackingField>1</_x003C_CreditKindOfPayId_x003E_k__BackingField>
  <_x003C_CreditKindOfPayName_x003E_k__BackingField>sample string 39</_x003C_CreditKindOfPayName_x003E_k__BackingField>
  <_x003C_CurrencyId_x003E_k__BackingField>17</_x003C_CurrencyId_x003E_k__BackingField>
  <_x003C_Currency_x003E_k__BackingField>sample string 16</_x003C_Currency_x003E_k__BackingField>
  <_x003C_DebitKindOfPayId_x003E_k__BackingField>1</_x003C_DebitKindOfPayId_x003E_k__BackingField>
  <_x003C_DebitKindOfPayName_x003E_k__BackingField>sample string 41</_x003C_DebitKindOfPayName_x003E_k__BackingField>
  <_x003C_Debt_x003E_k__BackingField>40.1</_x003C_Debt_x003E_k__BackingField>
  <_x003C_DetailId_x003E_k__BackingField>28</_x003C_DetailId_x003E_k__BackingField>
  <_x003C_DocumentNumber_x003E_k__BackingField>sample string 18</_x003C_DocumentNumber_x003E_k__BackingField>
  <_x003C_ID_x003E_k__BackingField>29</_x003C_ID_x003E_k__BackingField>
  <_x003C_Manager_x003E_k__BackingField>sample string 12</_x003C_Manager_x003E_k__BackingField>
  <_x003C_PaySystemDocumentNumber_x003E_k__BackingField>sample string 14</_x003C_PaySystemDocumentNumber_x003E_k__BackingField>
  <_x003C_PaySystemType_x003E_k__BackingField>sample string 13</_x003C_PaySystemType_x003E_k__BackingField>
  <_x003C_PayerInn_x003E_k__BackingField>sample string 34</_x003C_PayerInn_x003E_k__BackingField>
  <_x003C_PayerKpp_x003E_k__BackingField>sample string 35</_x003C_PayerKpp_x003E_k__BackingField>
  <_x003C_Payer_x003E_k__BackingField>sample string 33</_x003C_Payer_x003E_k__BackingField>
  <_x003C_PaymentContragent_x003E_k__BackingField>sample string 26</_x003C_PaymentContragent_x003E_k__BackingField>
  <_x003C_PaymentDate_x003E_k__BackingField xmlns:d2p1="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.Common.Contract">
    <d2p1:_format>sample string 4</d2p1:_format>
    <d2p1:_serialized>01.01.1970</d2p1:_serialized>
    <d2p1:_value>1970-01-01T03:00:00.003+03:00</d2p1:_value>
  </_x003C_PaymentDate_x003E_k__BackingField>
  <_x003C_PaymentFor_x003E_k__BackingField>sample string 20</_x003C_PaymentFor_x003E_k__BackingField>
  <_x003C_PaymentOperationID_x003E_k__BackingField>25</_x003C_PaymentOperationID_x003E_k__BackingField>
  <_x003C_PaymentOperationName_x003E_k__BackingField>sample string 38</_x003C_PaymentOperationName_x003E_k__BackingField>
  <_x003C_PaymentTypeId_x003E_k__BackingField>22</_x003C_PaymentTypeId_x003E_k__BackingField>
  <_x003C_PaymentType_x003E_k__BackingField>sample string 21</_x003C_PaymentType_x003E_k__BackingField>
  <_x003C_RateArticleId_x003E_k__BackingField>1</_x003C_RateArticleId_x003E_k__BackingField>
  <_x003C_RateArticleName_x003E_k__BackingField>sample string 37</_x003C_RateArticleName_x003E_k__BackingField>
  <_x003C_ReceipmentInn_x003E_k__BackingField>sample string 31</_x003C_ReceipmentInn_x003E_k__BackingField>
  <_x003C_ReceipmentKpp_x003E_k__BackingField>sample string 32</_x003C_ReceipmentKpp_x003E_k__BackingField>
  <_x003C_Receipment_x003E_k__BackingField>sample string 30</_x003C_Receipment_x003E_k__BackingField>
  <_x003C_RequestNumbers_x003E_k__BackingField xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </_x003C_RequestNumbers_x003E_k__BackingField>
  <_x003C_SumInAgreementCurrency_x003E_k__BackingField>45.1</_x003C_SumInAgreementCurrency_x003E_k__BackingField>
  <_x003C_SumInPaymentCurrency_x003E_k__BackingField>47.1</_x003C_SumInPaymentCurrency_x003E_k__BackingField>
  <_x003C_SumVat_x003E_k__BackingField>1.1</_x003C_SumVat_x003E_k__BackingField>
  <_x003C_Sum_x003E_k__BackingField>15.1</_x003C_Sum_x003E_k__BackingField>
  <_x003C_UnusedSum_x003E_k__BackingField>42.1</_x003C_UnusedSum_x003E_k__BackingField>
  <_x003C_CashId_x003E_k__BackingField>1</_x003C_CashId_x003E_k__BackingField>
  <_x003C_CashName_x003E_k__BackingField>sample string 5</_x003C_CashName_x003E_k__BackingField>
  <_x003C_CertificateId_x003E_k__BackingField>1</_x003C_CertificateId_x003E_k__BackingField>
  <_x003C_CertificateNumber_x003E_k__BackingField>sample string 9</_x003C_CertificateNumber_x003E_k__BackingField>
  <_x003C_ClientDebt_x003E_k__BackingField>3.1</_x003C_ClientDebt_x003E_k__BackingField>
  <_x003C_ClientPrice_x003E_k__BackingField>4.1</_x003C_ClientPrice_x003E_k__BackingField>
  <_x003C_Direction_x003E_k__BackingField>ALL</_x003C_Direction_x003E_k__BackingField>
  <_x003C_DiscountCardId_x003E_k__BackingField>1</_x003C_DiscountCardId_x003E_k__BackingField>
  <_x003C_FiskalDocuments_x003E_k__BackingField xmlns:d2p1="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.OnlineCashes">
    <d2p1:FiskalDocument>
      <d2p1:BillProvideTypeId>7</d2p1:BillProvideTypeId>
      <d2p1:Created>2024-11-23T17:15:41.1259648+03:00</d2p1:Created>
      <d2p1:DocumentInShiftNumber>sample string 13</d2p1:DocumentInShiftNumber>
      <d2p1:DocumentTypeId>5</d2p1:DocumentTypeId>
      <d2p1:ExternalOperationId>sample string 4</d2p1:ExternalOperationId>
      <d2p1:FiskalDocumentDateTime>2024-11-23T17:15:41.1259648+03:00</d2p1:FiskalDocumentDateTime>
      <d2p1:FiskalNumber>sample string 12</d2p1:FiskalNumber>
      <d2p1:HoldId>1</d2p1:HoldId>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:OnlineCashId>2</d2p1:OnlineCashId>
      <d2p1:OnlineCashName>sample string 3</d2p1:OnlineCashName>
      <d2p1:OperationTypeId>6</d2p1:OperationTypeId>
      <d2p1:PaymentId>1</d2p1:PaymentId>
      <d2p1:ResultTypeId>8</d2p1:ResultTypeId>
      <d2p1:ShiftNumber>sample string 11</d2p1:ShiftNumber>
      <d2p1:Sum>9</d2p1:Sum>
    </d2p1:FiskalDocument>
    <d2p1:FiskalDocument>
      <d2p1:BillProvideTypeId>7</d2p1:BillProvideTypeId>
      <d2p1:Created>2024-11-23T17:15:41.1259648+03:00</d2p1:Created>
      <d2p1:DocumentInShiftNumber>sample string 13</d2p1:DocumentInShiftNumber>
      <d2p1:DocumentTypeId>5</d2p1:DocumentTypeId>
      <d2p1:ExternalOperationId>sample string 4</d2p1:ExternalOperationId>
      <d2p1:FiskalDocumentDateTime>2024-11-23T17:15:41.1259648+03:00</d2p1:FiskalDocumentDateTime>
      <d2p1:FiskalNumber>sample string 12</d2p1:FiskalNumber>
      <d2p1:HoldId>1</d2p1:HoldId>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:OnlineCashId>2</d2p1:OnlineCashId>
      <d2p1:OnlineCashName>sample string 3</d2p1:OnlineCashName>
      <d2p1:OperationTypeId>6</d2p1:OperationTypeId>
      <d2p1:PaymentId>1</d2p1:PaymentId>
      <d2p1:ResultTypeId>8</d2p1:ResultTypeId>
      <d2p1:ShiftNumber>sample string 11</d2p1:ShiftNumber>
      <d2p1:Sum>9</d2p1:Sum>
    </d2p1:FiskalDocument>
  </_x003C_FiskalDocuments_x003E_k__BackingField>
  <_x003C_PartnerLegalEntityId_x003E_k__BackingField>1</_x003C_PartnerLegalEntityId_x003E_k__BackingField>
  <_x003C_PartnerLegalEntityName_x003E_k__BackingField>sample string 1</_x003C_PartnerLegalEntityName_x003E_k__BackingField>
  <_x003C_PaymentAccountId_x003E_k__BackingField>1</_x003C_PaymentAccountId_x003E_k__BackingField>
  <_x003C_PaymentAccountName_x003E_k__BackingField>sample string 6</_x003C_PaymentAccountName_x003E_k__BackingField>
  <_x003C_PaymentDetails_x003E_k__BackingField>
    <PaymentDetailData>
      <CarryOverOfFunds>sample string 5</CarryOverOfFunds>
      <CertificateId>1</CertificateId>
      <CertificateNumber>sample string 11</CertificateNumber>
      <ClientDebt>7.1</ClientDebt>
      <ClientPrice>6.1</ClientPrice>
      <Code>sample string 1</Code>
      <Comment>sample string 4</Comment>
      <Course>3</Course>
      <Date xmlns:d4p1="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.Common.Contract">
        <d4p1:_format>sample string 4</d4p1:_format>
        <d4p1:_serialized>01.01.1970</d4p1:_serialized>
        <d4p1:_value>1970-01-01T03:00:00.003+03:00</d4p1:_value>
      </Date>
      <Debt>8.1</Debt>
      <OrderPrices>
        <OrderPaymentData>
          <Course>10.1</Course>
          <CourseToAgreement>8.1</CourseToAgreement>
          <CurrencyId>3</CurrencyId>
          <OperatorId>1</OperatorId>
          <OperatorName>sample string 2</OperatorName>
          <OrderDebt>7.1</OrderDebt>
          <OrderPrice>6.1</OrderPrice>
          <RequestCode>sample string 5</RequestCode>
          <RequestId>4</RequestId>
          <Spread>9.1</Spread>
        </OrderPaymentData>
        <OrderPaymentData>
          <Course>10.1</Course>
          <CourseToAgreement>8.1</CourseToAgreement>
          <CurrencyId>3</CurrencyId>
          <OperatorId>1</OperatorId>
          <OperatorName>sample string 2</OperatorName>
          <OrderDebt>7.1</OrderDebt>
          <OrderPrice>6.1</OrderPrice>
          <RequestCode>sample string 5</RequestCode>
          <RequestId>4</RequestId>
          <Spread>9.1</Spread>
        </OrderPaymentData>
      </OrderPrices>
      <Spread>2</Spread>
      <TargetCurrencyId>9</TargetCurrencyId>
      <TargetPrice>10.1</TargetPrice>
    </PaymentDetailData>
    <PaymentDetailData>
      <CarryOverOfFunds>sample string 5</CarryOverOfFunds>
      <CertificateId>1</CertificateId>
      <CertificateNumber>sample string 11</CertificateNumber>
      <ClientDebt>7.1</ClientDebt>
      <ClientPrice>6.1</ClientPrice>
      <Code>sample string 1</Code>
      <Comment>sample string 4</Comment>
      <Course>3</Course>
      <Date xmlns:d4p1="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.Common.Contract">
        <d4p1:_format>sample string 4</d4p1:_format>
        <d4p1:_serialized>01.01.1970</d4p1:_serialized>
        <d4p1:_value>1970-01-01T03:00:00.003+03:00</d4p1:_value>
      </Date>
      <Debt>8.1</Debt>
      <OrderPrices>
        <OrderPaymentData>
          <Course>10.1</Course>
          <CourseToAgreement>8.1</CourseToAgreement>
          <CurrencyId>3</CurrencyId>
          <OperatorId>1</OperatorId>
          <OperatorName>sample string 2</OperatorName>
          <OrderDebt>7.1</OrderDebt>
          <OrderPrice>6.1</OrderPrice>
          <RequestCode>sample string 5</RequestCode>
          <RequestId>4</RequestId>
          <Spread>9.1</Spread>
        </OrderPaymentData>
        <OrderPaymentData>
          <Course>10.1</Course>
          <CourseToAgreement>8.1</CourseToAgreement>
          <CurrencyId>3</CurrencyId>
          <OperatorId>1</OperatorId>
          <OperatorName>sample string 2</OperatorName>
          <OrderDebt>7.1</OrderDebt>
          <OrderPrice>6.1</OrderPrice>
          <RequestCode>sample string 5</RequestCode>
          <RequestId>4</RequestId>
          <Spread>9.1</Spread>
        </OrderPaymentData>
      </OrderPrices>
      <Spread>2</Spread>
      <TargetCurrencyId>9</TargetCurrencyId>
      <TargetPrice>10.1</TargetPrice>
    </PaymentDetailData>
  </_x003C_PaymentDetails_x003E_k__BackingField>
  <_x003C_PaymentMethodId_x003E_k__BackingField>1</_x003C_PaymentMethodId_x003E_k__BackingField>
  <_x003C_RegularPaymentId_x003E_k__BackingField>1</_x003C_RegularPaymentId_x003E_k__BackingField>
  <_x003C_RegularPaymentName_x003E_k__BackingField>sample string 2</_x003C_RegularPaymentName_x003E_k__BackingField>
  <_x003C_RegularPayments_x003E_k__BackingField>
    <RegularPaymentRelation>
      <Comment>sample string 4</Comment>
      <PaymentDetails>
        <PaymentDetailData>
          <CarryOverOfFunds>sample string 5</CarryOverOfFunds>
          <CertificateId>1</CertificateId>
          <CertificateNumber>sample string 11</CertificateNumber>
          <ClientDebt>7.1</ClientDebt>
          <ClientPrice>6.1</ClientPrice>
          <Code>sample string 1</Code>
          <Comment>sample string 4</Comment>
          <Course>3</Course>
          <Date xmlns:d6p1="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.Common.Contract">
            <d6p1:_format>sample string 4</d6p1:_format>
            <d6p1:_serialized>01.01.1970</d6p1:_serialized>
            <d6p1:_value>1970-01-01T03:00:00.003+03:00</d6p1:_value>
          </Date>
          <Debt>8.1</Debt>
          <OrderPrices>
            <OrderPaymentData>
              <Course>10.1</Course>
              <CourseToAgreement>8.1</CourseToAgreement>
              <CurrencyId>3</CurrencyId>
              <OperatorId>1</OperatorId>
              <OperatorName>sample string 2</OperatorName>
              <OrderDebt>7.1</OrderDebt>
              <OrderPrice>6.1</OrderPrice>
              <RequestCode>sample string 5</RequestCode>
              <RequestId>4</RequestId>
              <Spread>9.1</Spread>
            </OrderPaymentData>
            <OrderPaymentData>
              <Course>10.1</Course>
              <CourseToAgreement>8.1</CourseToAgreement>
              <CurrencyId>3</CurrencyId>
              <OperatorId>1</OperatorId>
              <OperatorName>sample string 2</OperatorName>
              <OrderDebt>7.1</OrderDebt>
              <OrderPrice>6.1</OrderPrice>
              <RequestCode>sample string 5</RequestCode>
              <RequestId>4</RequestId>
              <Spread>9.1</Spread>
            </OrderPaymentData>
          </OrderPrices>
          <Spread>2</Spread>
          <TargetCurrencyId>9</TargetCurrencyId>
          <TargetPrice>10.1</TargetPrice>
        </PaymentDetailData>
        <PaymentDetailData>
          <CarryOverOfFunds>sample string 5</CarryOverOfFunds>
          <CertificateId>1</CertificateId>
          <CertificateNumber>sample string 11</CertificateNumber>
          <ClientDebt>7.1</ClientDebt>
          <ClientPrice>6.1</ClientPrice>
          <Code>sample string 1</Code>
          <Comment>sample string 4</Comment>
          <Course>3</Course>
          <Date xmlns:d6p1="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.Common.Contract">
            <d6p1:_format>sample string 4</d6p1:_format>
            <d6p1:_serialized>01.01.1970</d6p1:_serialized>
            <d6p1:_value>1970-01-01T03:00:00.003+03:00</d6p1:_value>
          </Date>
          <Debt>8.1</Debt>
          <OrderPrices>
            <OrderPaymentData>
              <Course>10.1</Course>
              <CourseToAgreement>8.1</CourseToAgreement>
              <CurrencyId>3</CurrencyId>
              <OperatorId>1</OperatorId>
              <OperatorName>sample string 2</OperatorName>
              <OrderDebt>7.1</OrderDebt>
              <OrderPrice>6.1</OrderPrice>
              <RequestCode>sample string 5</RequestCode>
              <RequestId>4</RequestId>
              <Spread>9.1</Spread>
            </OrderPaymentData>
            <OrderPaymentData>
              <Course>10.1</Course>
              <CourseToAgreement>8.1</CourseToAgreement>
              <CurrencyId>3</CurrencyId>
              <OperatorId>1</OperatorId>
              <OperatorName>sample string 2</OperatorName>
              <OrderDebt>7.1</OrderDebt>
              <OrderPrice>6.1</OrderPrice>
              <RequestCode>sample string 5</RequestCode>
              <RequestId>4</RequestId>
              <Spread>9.1</Spread>
            </OrderPaymentData>
          </OrderPrices>
          <Spread>2</Spread>
          <TargetCurrencyId>9</TargetCurrencyId>
          <TargetPrice>10.1</TargetPrice>
        </PaymentDetailData>
      </PaymentDetails>
      <RegularPaymentId>1</RegularPaymentId>
      <RegularPaymentName>sample string 2</RegularPaymentName>
      <Spread>3</Spread>
    </RegularPaymentRelation>
    <RegularPaymentRelation>
      <Comment>sample string 4</Comment>
      <PaymentDetails>
        <PaymentDetailData>
          <CarryOverOfFunds>sample string 5</CarryOverOfFunds>
          <CertificateId>1</CertificateId>
          <CertificateNumber>sample string 11</CertificateNumber>
          <ClientDebt>7.1</ClientDebt>
          <ClientPrice>6.1</ClientPrice>
          <Code>sample string 1</Code>
          <Comment>sample string 4</Comment>
          <Course>3</Course>
          <Date xmlns:d6p1="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.Common.Contract">
            <d6p1:_format>sample string 4</d6p1:_format>
            <d6p1:_serialized>01.01.1970</d6p1:_serialized>
            <d6p1:_value>1970-01-01T03:00:00.003+03:00</d6p1:_value>
          </Date>
          <Debt>8.1</Debt>
          <OrderPrices>
            <OrderPaymentData>
              <Course>10.1</Course>
              <CourseToAgreement>8.1</CourseToAgreement>
              <CurrencyId>3</CurrencyId>
              <OperatorId>1</OperatorId>
              <OperatorName>sample string 2</OperatorName>
              <OrderDebt>7.1</OrderDebt>
              <OrderPrice>6.1</OrderPrice>
              <RequestCode>sample string 5</RequestCode>
              <RequestId>4</RequestId>
              <Spread>9.1</Spread>
            </OrderPaymentData>
            <OrderPaymentData>
              <Course>10.1</Course>
              <CourseToAgreement>8.1</CourseToAgreement>
              <CurrencyId>3</CurrencyId>
              <OperatorId>1</OperatorId>
              <OperatorName>sample string 2</OperatorName>
              <OrderDebt>7.1</OrderDebt>
              <OrderPrice>6.1</OrderPrice>
              <RequestCode>sample string 5</RequestCode>
              <RequestId>4</RequestId>
              <Spread>9.1</Spread>
            </OrderPaymentData>
          </OrderPrices>
          <Spread>2</Spread>
          <TargetCurrencyId>9</TargetCurrencyId>
          <TargetPrice>10.1</TargetPrice>
        </PaymentDetailData>
        <PaymentDetailData>
          <CarryOverOfFunds>sample string 5</CarryOverOfFunds>
          <CertificateId>1</CertificateId>
          <CertificateNumber>sample string 11</CertificateNumber>
          <ClientDebt>7.1</ClientDebt>
          <ClientPrice>6.1</ClientPrice>
          <Code>sample string 1</Code>
          <Comment>sample string 4</Comment>
          <Course>3</Course>
          <Date xmlns:d6p1="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.Common.Contract">
            <d6p1:_format>sample string 4</d6p1:_format>
            <d6p1:_serialized>01.01.1970</d6p1:_serialized>
            <d6p1:_value>1970-01-01T03:00:00.003+03:00</d6p1:_value>
          </Date>
          <Debt>8.1</Debt>
          <OrderPrices>
            <OrderPaymentData>
              <Course>10.1</Course>
              <CourseToAgreement>8.1</CourseToAgreement>
              <CurrencyId>3</CurrencyId>
              <OperatorId>1</OperatorId>
              <OperatorName>sample string 2</OperatorName>
              <OrderDebt>7.1</OrderDebt>
              <OrderPrice>6.1</OrderPrice>
              <RequestCode>sample string 5</RequestCode>
              <RequestId>4</RequestId>
              <Spread>9.1</Spread>
            </OrderPaymentData>
            <OrderPaymentData>
              <Course>10.1</Course>
              <CourseToAgreement>8.1</CourseToAgreement>
              <CurrencyId>3</CurrencyId>
              <OperatorId>1</OperatorId>
              <OperatorName>sample string 2</OperatorName>
              <OrderDebt>7.1</OrderDebt>
              <OrderPrice>6.1</OrderPrice>
              <RequestCode>sample string 5</RequestCode>
              <RequestId>4</RequestId>
              <Spread>9.1</Spread>
            </OrderPaymentData>
          </OrderPrices>
          <Spread>2</Spread>
          <TargetCurrencyId>9</TargetCurrencyId>
          <TargetPrice>10.1</TargetPrice>
        </PaymentDetailData>
      </PaymentDetails>
      <RegularPaymentId>1</RegularPaymentId>
      <RegularPaymentName>sample string 2</RegularPaymentName>
      <Spread>3</Spread>
    </RegularPaymentRelation>
  </_x003C_RegularPayments_x003E_k__BackingField>
  <_x003C_SubAgentCashId_x003E_k__BackingField>1</_x003C_SubAgentCashId_x003E_k__BackingField>
  <_x003C_SubAgentPaymentAccountId_x003E_k__BackingField>1</_x003C_SubAgentPaymentAccountId_x003E_k__BackingField>
  <_x003C_SubAgentPaymentOperationId_x003E_k__BackingField>1</_x003C_SubAgentPaymentOperationId_x003E_k__BackingField>
  <_x003C_SubAgentPaymentTypeId_x003E_k__BackingField>1</_x003C_SubAgentPaymentTypeId_x003E_k__BackingField>
  <_x003C_TargetCurrencyId_x003E_k__BackingField>8</_x003C_TargetCurrencyId_x003E_k__BackingField>
  <_x003C_TargetPrice_x003E_k__BackingField>7.1</_x003C_TargetPrice_x003E_k__BackingField>
</PaymentItem>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'PaymentItem'.

Response Information

Resource Description

UpdatePaymentResponse
NameDescriptionTypeAdditional information
Id

ID созданного платежа

integer

None.

ResultQueryInfo

Сообщения

ResultQueryInfoContainer

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "RedirectUrl": "sample string 2",
  "ResultQueryInfo": {
    "ResultsCount": 1,
    "HasError": false,
    "Info": [],
    "CacheStorageTimeEnd": true,
    "RefreshPeriod": 0,
    "DelFromCacheDateTime": "2024-11-23T17:15:41.1259648+03:00",
    "UserMessages": "",
    "UserMessagesHtml": ""
  }
}

application/xml, text/xml

Sample:
<UpdatePaymentResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.Payment.Contract">
  <RedirectUrl xmlns="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.Common.Contract">sample string 2</RedirectUrl>
  <ResultQueryInfo xmlns="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.Common.Contract">
    <_x003C_DelFromCacheDateTime_x003E_k__BackingField>2024-11-23T17:15:41.1259648+03:00</_x003C_DelFromCacheDateTime_x003E_k__BackingField>
    <_x003C_ResultsCount_x003E_k__BackingField>1</_x003C_ResultsCount_x003E_k__BackingField>
    <info />
  </ResultQueryInfo>
  <Id>1</Id>
</UpdatePaymentResponse>