POST api/PaymentHub/ConfirmPaymentDecline
Request Information
URI Parameters
None.
Body Parameters
DeclinePayment| Name | Description | Type | Additional information |
|---|---|---|---|
| uid | string |
None. |
|
| comments | string |
None. |
|
| StopReceivingStatus | boolean |
None. |
|
| DeclineStatus | string |
None. |
|
| companyInfo | companyInfo |
None. |
|
| Declinemessage | Declinemessage |
None. |
Request Formats
application/json, text/json
Sample:
{
"uid": "sample string 1",
"comments": "sample string 2",
"StopReceivingStatus": true,
"DeclineStatus": "sample string 4",
"companyInfo": {
"PrivacyUrl": "sample string 1",
"PhoneNumber": "sample string 2",
"Email": "sample string 3",
"CompanyLogoUrl": "sample string 4",
"CompanyName": "sample string 5",
"CompanyUrl": "sample string 6"
},
"Declinemessage": {
"MainMessage": "sample string 1",
"StopReceivingMessage": "sample string 2",
"Websiteurl": "sample string 3"
}
}
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
SponsorResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| StudentSponsorId | integer |
None. |
|
| SponsorName | string |
None. |
|
| EditUrl | string |
None. |
|
| Uid | string |
None. |
|
| Amount | decimal number |
None. |
|
| StrAmount | string |
None. |
|
| responseMessage | string |
None. |
|
| SponsorPaymentRequestId | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"StudentSponsorId": 1,
"SponsorName": "sample string 2",
"EditUrl": "sample string 3",
"Uid": "sample string 4",
"Amount": 5.1,
"StrAmount": "sample string 6",
"responseMessage": "sample string 7",
"SponsorPaymentRequestId": 8
}