POST api/document/{documentId}/cancel
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| documentId | string |
Required |
Body Parameters
CancelRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| NotifyMerchant | boolean |
None. |
|
| NotifyPayer | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"NotifyMerchant": true,
"NotifyPayer": true
}
application/xml, text/xml
Sample:
<CancelRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Nodus.Applications.PayLink.Models"> <NotifyMerchant>true</NotifyMerchant> <NotifyPayer>true</NotifyPayer> </CancelRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |