POST Product/paytracePaymentRefundbyvault

Request Information

URI Parameters

None.

Body Parameters

PaymentModel
NameDescriptionTypeAdditional information
Isrefund

string

None.

profileid

string

None.

Phone

string

None.

company_sy

string

None.

customer

string

None.

order_ext

string

None.

ApiLoginID

string

None.

ApiTransactionKey

string

None.

Amount

decimal number

None.

CardNumber

string

None.

ExpirationDate

string

None.

CardCode

string

None.

FirstName

string

None.

LastName

string

None.

Address

string

None.

Address2

string

None.

City

string

None.

zip

string

None.

country

string

None.

email

string

None.

State

string

None.

ExpirationMonth

integer

None.

ExpirationYear

integer

None.

CardType

string

None.

ShippingCharge

string

None.

SubTotal

string

None.

TAX

string

None.

Total

string

None.

Description

string

None.

InvoiceNumber

string

None.

PaymentItems

Collection of PaymentItems

None.

Request Formats

application/json, text/json

Sample:
{
  "Isrefund": "sample string 1",
  "profileid": "sample string 2",
  "Phone": "sample string 3",
  "company_sy": "sample string 4",
  "customer": "sample string 5",
  "order_ext": "sample string 6",
  "ApiLoginID": "sample string 7",
  "ApiTransactionKey": "sample string 8",
  "Amount": 9.0,
  "CardNumber": "sample string 10",
  "ExpirationDate": "sample string 11",
  "CardCode": "sample string 12",
  "FirstName": "sample string 13",
  "LastName": "sample string 14",
  "Address": "sample string 15",
  "Address2": "sample string 16",
  "City": "sample string 17",
  "zip": "sample string 18",
  "country": "sample string 19",
  "email": "sample string 20",
  "State": "sample string 21",
  "ExpirationMonth": 22,
  "ExpirationYear": 23,
  "CardType": "sample string 24",
  "ShippingCharge": "sample string 25",
  "SubTotal": "sample string 26",
  "TAX": "sample string 27",
  "Total": "sample string 28",
  "Description": "sample string 29",
  "InvoiceNumber": "sample string 30",
  "PaymentItems": [
    {
      "ItemId": "sample string 1",
      "Name": "sample string 2",
      "descr": "sample string 3",
      "Quantity": 4,
      "UnitPrice": 5.0
    },
    {
      "ItemId": "sample string 1",
      "Name": "sample string 2",
      "descr": "sample string 3",
      "Quantity": 4,
      "UnitPrice": 5.0
    }
  ]
}

text/xml

Sample:
<PaymentModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DistOneWebAPI.ViewModels">
  <Address>sample string 15</Address>
  <Address2>sample string 16</Address2>
  <Amount>9</Amount>
  <ApiLoginID>sample string 7</ApiLoginID>
  <ApiTransactionKey>sample string 8</ApiTransactionKey>
  <CardCode>sample string 12</CardCode>
  <CardNumber>sample string 10</CardNumber>
  <CardType>sample string 24</CardType>
  <City>sample string 17</City>
  <Description>sample string 29</Description>
  <ExpirationDate>sample string 11</ExpirationDate>
  <ExpirationMonth>22</ExpirationMonth>
  <ExpirationYear>23</ExpirationYear>
  <FirstName>sample string 13</FirstName>
  <InvoiceNumber>sample string 30</InvoiceNumber>
  <Isrefund>sample string 1</Isrefund>
  <LastName>sample string 14</LastName>
  <PaymentItems>
    <PaymentItems>
      <ItemId>sample string 1</ItemId>
      <Name>sample string 2</Name>
      <Quantity>4</Quantity>
      <UnitPrice>5</UnitPrice>
      <descr>sample string 3</descr>
    </PaymentItems>
    <PaymentItems>
      <ItemId>sample string 1</ItemId>
      <Name>sample string 2</Name>
      <Quantity>4</Quantity>
      <UnitPrice>5</UnitPrice>
      <descr>sample string 3</descr>
    </PaymentItems>
  </PaymentItems>
  <Phone>sample string 3</Phone>
  <ShippingCharge>sample string 25</ShippingCharge>
  <State>sample string 21</State>
  <SubTotal>sample string 26</SubTotal>
  <TAX>sample string 27</TAX>
  <Total>sample string 28</Total>
  <company_sy>sample string 4</company_sy>
  <country>sample string 19</country>
  <customer>sample string 5</customer>
  <email>sample string 20</email>
  <order_ext>sample string 6</order_ext>
  <profileid>sample string 2</profileid>
  <zip>sample string 18</zip>
</PaymentModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Object

None.

Response Formats

application/json, text/json

Sample:
{}

text/xml

Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />