POST api/PaymProcess/AddFinalDetailstoPayment

Request Information

URI Parameters

None.

Body Parameters

PaymHeadModel
NameDescriptionTypeAdditional information
orderdocRef

string

None.

paymHeadnum

integer

None.

paymentDate

date

None.

customerKey

integer

None.

currencyKey

integer

None.

currencyRate

decimal number

None.

storeCountryKey

integer

None.

countryKey

integer

None.

countryName

string

None.

stateKey

integer

None.

stateName

string

None.

paymTypeKey

integer

None.

paymTypeName

string

None.

taxRegNumber

string

None.

billingCountryKey

integer

None.

custFirstName

string

None.

custLastName

string

None.

custMobile

string

None.

compName

string

None.

custAddress

string

None.

cityName

string

None.

zipcode

string

None.

cardcountryKey

string

None.

cardcityName

string

None.

cardaddress

string

None.

payMethod

string

None.

paycard

string

None.

paylast4

string

None.

payfirst6

string

None.

payforenames

string

None.

paysurname

string

None.

grossAmount

decimal number

None.

discPercent

decimal number

None.

discAmount

decimal number

None.

promoCode

string

None.

promoAmount

decimal number

None.

promoPerc

decimal number

None.

taxAmount

decimal number

None.

netAmount

decimal number

None.

isRenewal

boolean

None.

payGateTNumber

string

None.

payGateResultRef

string

None.

statusName

string

None.

paymstatusKey

integer

None.

paymentStatus

string

None.

statusfromGatew

string

None.

payGateResultUrl

string

None.

taxDatasource

Collection of CountryTax

None.

Request Formats

application/json, text/json

Sample:
{
  "orderdocRef": "sample string 1",
  "paymHeadnum": 2,
  "paymentDate": "2026-02-27T02:55:51.8835223+04:00",
  "customerKey": 4,
  "currencyKey": 5,
  "currencyRate": 6.1,
  "storeCountryKey": 7,
  "countryKey": 8,
  "countryName": "sample string 9",
  "stateKey": 10,
  "stateName": "sample string 11",
  "paymTypeKey": 12,
  "paymTypeName": "sample string 13",
  "taxRegNumber": "sample string 14",
  "billingCountryKey": 15,
  "custFirstName": "sample string 16",
  "custLastName": "sample string 17",
  "custMobile": "sample string 18",
  "compName": "sample string 19",
  "custAddress": "sample string 20",
  "cityName": "sample string 21",
  "zipcode": "sample string 22",
  "cardcountryKey": "sample string 23",
  "cardcityName": "sample string 24",
  "cardaddress": "sample string 25",
  "payMethod": "sample string 26",
  "paycard": "sample string 27",
  "paylast4": "sample string 28",
  "payfirst6": "sample string 29",
  "payforenames": "sample string 30",
  "paysurname": "sample string 31",
  "grossAmount": 32.1,
  "discPercent": 33.1,
  "discAmount": 34.1,
  "promoCode": "sample string 35",
  "promoAmount": 36.1,
  "promoPerc": 37.1,
  "taxAmount": 38.1,
  "netAmount": 39.1,
  "isRenewal": true,
  "payGateTNumber": "sample string 41",
  "payGateResultRef": "sample string 42",
  "statusName": "sample string 43",
  "paymstatusKey": 44,
  "paymentStatus": "sample string 45",
  "statusfromGatew": "sample string 46",
  "payGateResultUrl": "sample string 47",
  "taxDatasource": [
    {
      "taxKey": 1,
      "taxCode": "sample string 2",
      "taxName": "sample string 3",
      "taxPerc": 4.1,
      "taxTag": "sample string 5",
      "taxIncPerc": 6.1,
      "taxOrder": 7,
      "taxIsActive": true,
      "countryKey": 9,
      "countryCode": "sample string 10",
      "countryName": "sample string 11",
      "stateKey": 12,
      "taxAmt": 13.1
    },
    {
      "taxKey": 1,
      "taxCode": "sample string 2",
      "taxName": "sample string 3",
      "taxPerc": 4.1,
      "taxTag": "sample string 5",
      "taxIncPerc": 6.1,
      "taxOrder": 7,
      "taxIsActive": true,
      "countryKey": 9,
      "countryCode": "sample string 10",
      "countryName": "sample string 11",
      "stateKey": 12,
      "taxAmt": 13.1
    }
  ]
}

text/xml

Sample:
<PaymHeadModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Com.seld.ng.Domain.ViewModels">
  <billingCountryKey>15</billingCountryKey>
  <cardaddress>sample string 25</cardaddress>
  <cardcityName>sample string 24</cardcityName>
  <cardcountryKey>sample string 23</cardcountryKey>
  <cityName>sample string 21</cityName>
  <compName>sample string 19</compName>
  <countryKey>8</countryKey>
  <countryName>sample string 9</countryName>
  <currencyKey>5</currencyKey>
  <currencyRate>6.1</currencyRate>
  <custAddress>sample string 20</custAddress>
  <custFirstName>sample string 16</custFirstName>
  <custLastName>sample string 17</custLastName>
  <custMobile>sample string 18</custMobile>
  <customerKey>4</customerKey>
  <discAmount>34.1</discAmount>
  <discPercent>33.1</discPercent>
  <grossAmount>32.1</grossAmount>
  <isRenewal>true</isRenewal>
  <netAmount>39.1</netAmount>
  <orderdocRef>sample string 1</orderdocRef>
  <payGateResultRef>sample string 42</payGateResultRef>
  <payGateResultUrl>sample string 47</payGateResultUrl>
  <payGateTNumber>sample string 41</payGateTNumber>
  <payMethod>sample string 26</payMethod>
  <paycard>sample string 27</paycard>
  <payfirst6>sample string 29</payfirst6>
  <payforenames>sample string 30</payforenames>
  <paylast4>sample string 28</paylast4>
  <paymHeadnum>2</paymHeadnum>
  <paymTypeKey>12</paymTypeKey>
  <paymTypeName>sample string 13</paymTypeName>
  <paymentDate>2026-02-27T02:55:51.8835223+04:00</paymentDate>
  <paymentStatus>sample string 45</paymentStatus>
  <paymstatusKey>44</paymstatusKey>
  <paysurname>sample string 31</paysurname>
  <promoAmount>36.1</promoAmount>
  <promoCode>sample string 35</promoCode>
  <promoPerc>37.1</promoPerc>
  <stateKey>10</stateKey>
  <stateName>sample string 11</stateName>
  <statusName>sample string 43</statusName>
  <statusfromGatew>sample string 46</statusfromGatew>
  <storeCountryKey>7</storeCountryKey>
  <taxAmount>38.1</taxAmount>
  <taxDatasource>
    <CountryTax>
      <countryCode>sample string 10</countryCode>
      <countryKey>9</countryKey>
      <countryName>sample string 11</countryName>
      <stateKey>12</stateKey>
      <taxAmt>13.1</taxAmt>
      <taxCode>sample string 2</taxCode>
      <taxIncPerc>6.1</taxIncPerc>
      <taxIsActive>true</taxIsActive>
      <taxKey>1</taxKey>
      <taxName>sample string 3</taxName>
      <taxOrder>7</taxOrder>
      <taxPerc>4.1</taxPerc>
      <taxTag>sample string 5</taxTag>
    </CountryTax>
    <CountryTax>
      <countryCode>sample string 10</countryCode>
      <countryKey>9</countryKey>
      <countryName>sample string 11</countryName>
      <stateKey>12</stateKey>
      <taxAmt>13.1</taxAmt>
      <taxCode>sample string 2</taxCode>
      <taxIncPerc>6.1</taxIncPerc>
      <taxIsActive>true</taxIsActive>
      <taxKey>1</taxKey>
      <taxName>sample string 3</taxName>
      <taxOrder>7</taxOrder>
      <taxPerc>4.1</taxPerc>
      <taxTag>sample string 5</taxTag>
    </CountryTax>
  </taxDatasource>
  <taxRegNumber>sample string 14</taxRegNumber>
  <zipcode>sample string 22</zipcode>
</PaymHeadModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, text/xml

Sample:

Sample not available.