POST api/yandexipn

Request Information

URI Parameters

None.

Body Parameters

YandexCallback
NameDescriptionTypeAdditional information
operation_id

string

None.

notification_type

string

None.

datetime

string

None.

sha1_hash

string

None.

sender

string

None.

codepro

string

None.

currency

string

None.

amount

string

None.

withdraw_amount

decimal number

None.

label

string

None.

lastname

string

None.

firstname

string

None.

fathersname

string

None.

zip

string

None.

city

string

None.

street

string

None.

building

string

None.

suite

string

None.

flat

string

None.

phone

string

None.

email

string

None.

test_notification

boolean

None.

unaccepted

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "operation_id": "sample string 1",
  "notification_type": "sample string 2",
  "datetime": "sample string 3",
  "sha1_hash": "sample string 4",
  "sender": "sample string 5",
  "codepro": "sample string 6",
  "currency": "sample string 7",
  "amount": "sample string 8",
  "withdraw_amount": 1.0,
  "label": "sample string 9",
  "lastname": "sample string 10",
  "firstname": "sample string 11",
  "fathersname": "sample string 12",
  "zip": "sample string 13",
  "city": "sample string 14",
  "street": "sample string 15",
  "building": "sample string 16",
  "suite": "sample string 17",
  "flat": "sample string 18",
  "phone": "sample string 19",
  "email": "sample string 20",
  "test_notification": true,
  "unaccepted": true
}

application/xml, text/xml

Sample:
<YandexCallback xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SoulSeasons2017.Models">
  <amount>sample string 8</amount>
  <building>sample string 16</building>
  <city>sample string 14</city>
  <codepro>sample string 6</codepro>
  <currency>sample string 7</currency>
  <datetime>sample string 3</datetime>
  <email>sample string 20</email>
  <fathersname>sample string 12</fathersname>
  <firstname>sample string 11</firstname>
  <flat>sample string 18</flat>
  <label>sample string 9</label>
  <lastname>sample string 10</lastname>
  <notification_type>sample string 2</notification_type>
  <operation_id>sample string 1</operation_id>
  <phone>sample string 19</phone>
  <sender>sample string 5</sender>
  <sha1_hash>sample string 4</sha1_hash>
  <street>sample string 15</street>
  <suite>sample string 17</suite>
  <test_notification>true</test_notification>
  <unaccepted>true</unaccepted>
  <withdraw_amount>1</withdraw_amount>
  <zip>sample string 13</zip>
</YandexCallback>

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 'YandexCallback'.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.