POST api/Shop/Admin/RejectPayment
Request Information
URI Parameters
None.
Body Parameters
ShopOrderCodeRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| Code | string |
None. |
|
| PayerName | string |
None. |
|
| Note | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Code": "sample string 1",
"PayerName": "sample string 2",
"Note": "sample string 3"
}
application/xml, text/xml
Sample:
<ShopOrderCodeRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/syartiService.Models"> <Code>sample string 1</Code> <Note>sample string 3</Note> <PayerName>sample string 2</PayerName> </ShopOrderCodeRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ShopOrder| Name | Description | Type | Additional information |
|---|---|---|---|
| Code | string |
None. |
|
| Status | string |
None. |
|
| PaymentMethod | string |
None. |
|
| Currency | string |
None. |
|
| Subtotal | decimal number |
None. |
|
| Shipping | decimal number |
None. |
|
| Total | decimal number |
None. |
|
| CustomerName | string |
None. |
|
| Phone | string |
None. |
|
| City | string |
None. |
|
| Address | string |
None. |
|
| PayerName | string |
None. |
|
| AdminNote | string |
None. |
|
| CreatedUtc | date |
None. |
|
| ExpiresUtc | date |
None. |
|
| DecidedUtc | date |
None. |
|
| PaymentRef | string |
None. |
|
| Market | string |
None. |
|
| Country | string |
None. |
|
| Items | Collection of ShopOrderItem |
None. |
|
| Payment | ShopPaymentInstructions |
None. |
Response Formats
application/json, text/json
Sample:
{
"Code": "sample string 1",
"Status": "sample string 2",
"PaymentMethod": "sample string 3",
"Currency": "sample string 4",
"Subtotal": 5.0,
"Shipping": 6.0,
"Total": 7.0,
"CustomerName": "sample string 8",
"Phone": "sample string 9",
"City": "sample string 10",
"Address": "sample string 11",
"PayerName": "sample string 12",
"AdminNote": "sample string 13",
"CreatedUtc": "2026-11-21T05:16:58.9236037-08:00",
"ExpiresUtc": "2026-11-21T05:16:58.9236037-08:00",
"DecidedUtc": "2026-11-21T05:16:58.9236037-08:00",
"PaymentRef": "sample string 16",
"Market": "sample string 17",
"Country": "sample string 18",
"Items": [
{
"ProductID": 1,
"Name": "sample string 2",
"UnitPrice": 3.0,
"Qty": 4
},
{
"ProductID": 1,
"Name": "sample string 2",
"UnitPrice": 3.0,
"Qty": 4
}
],
"Payment": {
"Method": "sample string 1",
"Alias": "sample string 2",
"AccountHolder": "sample string 3",
"Reference": "sample string 4",
"Url": "sample string 5"
}
}
application/xml, text/xml
Sample:
<ShopOrder xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/syartiService.Models">
<Address>sample string 11</Address>
<AdminNote>sample string 13</AdminNote>
<City>sample string 10</City>
<Code>sample string 1</Code>
<Country>sample string 18</Country>
<CreatedUtc>2026-11-21T05:16:58.9236037-08:00</CreatedUtc>
<Currency>sample string 4</Currency>
<CustomerName>sample string 8</CustomerName>
<DecidedUtc>2026-11-21T05:16:58.9236037-08:00</DecidedUtc>
<ExpiresUtc>2026-11-21T05:16:58.9236037-08:00</ExpiresUtc>
<Items>
<ShopOrderItem>
<Name>sample string 2</Name>
<ProductID>1</ProductID>
<Qty>4</Qty>
<UnitPrice>3</UnitPrice>
</ShopOrderItem>
<ShopOrderItem>
<Name>sample string 2</Name>
<ProductID>1</ProductID>
<Qty>4</Qty>
<UnitPrice>3</UnitPrice>
</ShopOrderItem>
</Items>
<Market>sample string 17</Market>
<PayerName>sample string 12</PayerName>
<Payment>
<AccountHolder>sample string 3</AccountHolder>
<Alias>sample string 2</Alias>
<Method>sample string 1</Method>
<Reference>sample string 4</Reference>
<Url>sample string 5</Url>
</Payment>
<PaymentMethod>sample string 3</PaymentMethod>
<PaymentRef>sample string 16</PaymentRef>
<Phone>sample string 9</Phone>
<Shipping>6</Shipping>
<Status>sample string 2</Status>
<Subtotal>5</Subtotal>
<Total>7</Total>
</ShopOrder>