POST api/partner/orders/order/pay?key={key}
Метод для оплаты заказа
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
key | string |
Required |
Body Parameters
OrderPayModelName | Description | Type | Additional information |
---|---|---|---|
UserId |
Идентификатор пользователя |
integer |
None. |
PartnerId |
Идентификатор партнера |
globally unique identifier |
None. |
OrderId |
Идентификатор заказа |
globally unique identifier |
None. |
Amount |
Сумма |
decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{ "userId": 1, "partnerId": "bd1367e3-1781-4481-a983-06fd5e9d6e32", "orderId": "a88d0256-5042-46c5-ada0-ac89eb9bc3ad", "amount": 4.0 }
application/xml, text/xml
Sample:
<PartnerController.OrderPayModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RucontAPI.Controllers"> <Amount>4</Amount> <OrderId>a88d0256-5042-46c5-ada0-ac89eb9bc3ad</OrderId> <PartnerId>bd1367e3-1781-4481-a983-06fd5e9d6e32</PartnerId> <UserId>1</UserId> </PartnerController.OrderPayModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.