POST api/partner/orders/order/pay?key={key}
Метод для оплаты заказа
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| key | string |
Required |
Body Parameters
OrderPayModel| Name | 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": "7718726a-fcf3-4f4a-b0e1-3554223f4f27",
"orderId": "12cebbcb-c2ca-487e-bc6b-add3ae0d551f",
"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>12cebbcb-c2ca-487e-bc6b-add3ae0d551f</OrderId> <PartnerId>7718726a-fcf3-4f4a-b0e1-3554223f4f27</PartnerId> <UserId>1</UserId> </PartnerController.OrderPayModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.