POST api_v2/payments
Создать новый платеж
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
payment | Создаваемый платеж |
Define this parameter in the request body. |
Request body formats
application/xml, text/xml
Sample:
<CreatePaymentRequest> <AccountId>0e272223-a131-4e2c-841e-cce7ae1fd84e</AccountId> <Total>2</Total> <Description>sample string 3</Description> <Type>Inflow</Type> <Date>2022-05-22T07:22:33.6204158+03:00</Date> <TransactionType>Money</TransactionType> </CreatePaymentRequest>
application/json, text/json
Sample:
{ "AccountId": "0e272223-a131-4e2c-841e-cce7ae1fd84e", "Total": 2.0, "Description": "sample string 3", "Type": 0, "Date": "2022-05-22T07:22:33.6204158+03:00", "TransactionType": 0 }
Response Information
Response body formats
application/json, text/json
Sample:
Sample not available.