POST api/commerce/mock-payments
Request Information
URI Parameters
None.
Body Parameters
CommerceMockPaymentDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| BuyerMemberID | globally unique identifier |
None. |
|
| OrderID | globally unique identifier |
None. |
|
| ProviderEventKey | string |
None. |
|
| Outcome | string |
None. |
|
| ProviderPaymentID | string |
None. |
|
| ProviderTransactionID | string |
None. |
|
| AuthorizationID | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"BuyerMemberID": "ea6a5ddb-d618-4b0e-bf16-15537b219d86",
"OrderID": "00c15ebb-5dbc-476a-aea6-49592e8c481c",
"ProviderEventKey": "sample string 3",
"Outcome": "sample string 4",
"ProviderPaymentID": "sample string 5",
"ProviderTransactionID": "sample string 6",
"AuthorizationID": "sample string 7"
}
application/xml, text/xml
Sample:
<CommerceMockPaymentDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AIProject.API.Models.DTO"> <AuthorizationID>sample string 7</AuthorizationID> <BuyerMemberID>ea6a5ddb-d618-4b0e-bf16-15537b219d86</BuyerMemberID> <OrderID>00c15ebb-5dbc-476a-aea6-49592e8c481c</OrderID> <Outcome>sample string 4</Outcome> <ProviderEventKey>sample string 3</ProviderEventKey> <ProviderPaymentID>sample string 5</ProviderPaymentID> <ProviderTransactionID>sample string 6</ProviderTransactionID> </CommerceMockPaymentDTO>
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.