POST WebHook/addWebHookDetails
Request Information
URI Parameters
None.
Body Parameters
DaoWebHook| Name | Description | Type | Additional information |
|---|---|---|---|
| WebHookId | string |
None. |
|
| CreatedTime | string |
None. |
|
| EventType | string |
None. |
|
| PaymentId | string |
None. |
|
| PayerId | string |
None. |
|
| Amount | string |
None. |
|
| Currency | string |
None. |
|
| MerchantId | string |
None. |
|
| PaymentMethod | string |
None. |
|
| FName | string |
None. |
|
| LName | string |
None. |
|
| string |
None. |
||
| CountryCode | string |
None. |
|
| Status | string |
None. |
|
| Links | Collection of Link |
None. |
Request Formats
application/json, text/json
Sample:
{
"WebHookId": "sample string 1",
"CreatedTime": "sample string 2",
"EventType": "sample string 3",
"PaymentId": "sample string 4",
"PayerId": "sample string 5",
"Amount": "sample string 6",
"Currency": "sample string 7",
"MerchantId": "sample string 8",
"PaymentMethod": "sample string 9",
"FName": "sample string 10",
"LName": "sample string 11",
"Email": "sample string 12",
"CountryCode": "sample string 13",
"Status": "sample string 14",
"Links": [
{
"href": "sample string 1",
"Method": "sample string 2",
"rel": "sample string 3",
"WebHookId": "sample string 4"
},
{
"href": "sample string 1",
"Method": "sample string 2",
"rel": "sample string 3",
"WebHookId": "sample string 4"
}
]
}
application/xml, text/xml
Sample:
<DaoWebHook xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Icodex.UserManagement.Services.Interfaces.Request.Dao.WebHook">
<Amount>sample string 6</Amount>
<CountryCode>sample string 13</CountryCode>
<CreatedTime>sample string 2</CreatedTime>
<Currency>sample string 7</Currency>
<Email>sample string 12</Email>
<EventType>sample string 3</EventType>
<FName>sample string 10</FName>
<LName>sample string 11</LName>
<Links>
<Link>
<Method>sample string 2</Method>
<WebHookId>sample string 4</WebHookId>
<href>sample string 1</href>
<rel>sample string 3</rel>
</Link>
<Link>
<Method>sample string 2</Method>
<WebHookId>sample string 4</WebHookId>
<href>sample string 1</href>
<rel>sample string 3</rel>
</Link>
</Links>
<MerchantId>sample string 8</MerchantId>
<PayerId>sample string 5</PayerId>
<PaymentId>sample string 4</PaymentId>
<PaymentMethod>sample string 9</PaymentMethod>
<Status>sample string 14</Status>
<WebHookId>sample string 1</WebHookId>
</DaoWebHook>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.