POST api/commerce/providers/webhooks/mock/{profileKey}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| profileKey | string |
Required |
Body Parameters
CommerceMockWebhookDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| BuyerMemberID | globally unique identifier |
None. |
|
| OrderID | globally unique identifier |
None. |
|
| ProviderEventKey | string |
None. |
|
| Outcome | string |
None. |
|
| ProviderPaymentID | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"BuyerMemberID": "f20c2f79-adf1-4591-97e7-45a740665a8f",
"OrderID": "96c6b0dd-c0cd-43ca-aa0b-842a60d7d718",
"ProviderEventKey": "sample string 3",
"Outcome": "sample string 4",
"ProviderPaymentID": "sample string 5"
}
application/xml, text/xml
Sample:
<CommerceMockWebhookDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AIProject.API.Models.DTO"> <BuyerMemberID>f20c2f79-adf1-4591-97e7-45a740665a8f</BuyerMemberID> <OrderID>96c6b0dd-c0cd-43ca-aa0b-842a60d7d718</OrderID> <Outcome>sample string 4</Outcome> <ProviderEventKey>sample string 3</ProviderEventKey> <ProviderPaymentID>sample string 5</ProviderPaymentID> </CommerceMockWebhookDTO>
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.