POST api_v2/accounts/{accountId}/invoice-creation/custom

Создать инвойс с произвольной суммой

Request Information

Parameters

NameDescriptionAdditional information
accountId
ID аккаунта

Define this parameter in the request URI.

request
Модель запроса

Define this parameter in the request body.

Request body formats

application/xml, text/xml

Sample:
<CreateInvoiceFromArbitraryAmountApiModel>
  <Description>sample string 1</Description>
  <Amount>2</Amount>
  <NotifyAccountUserId>aac07ba1-f0f9-4827-8a96-9086411c5f2a</NotifyAccountUserId>
</CreateInvoiceFromArbitraryAmountApiModel>

application/json, text/json

Sample:
{
  "NotifyAccountUserId": "aac07ba1-f0f9-4827-8a96-9086411c5f2a",
  "Description": "sample string 1",
  "Amount": 2.0
}

Response Information

ID созданного инвойса

Response body formats

application/xml, text/xml

Sample:
<CreateInvoiceResultApiModel>
  <Id>8df580ba-e39b-4e60-ba15-dc00487a736c</Id>
</CreateInvoiceResultApiModel>

application/json, text/json

Sample:
{
  "Id": "8df580ba-e39b-4e60-ba15-dc00487a736c"
}