POST api/hms/getPaymentGatewayDetails

Request Information

URI Parameters

None.

Body Parameters

PaymentModel
NameDescriptionTypeAdditional information
mode

string

None.

Amount

string

None.

Name

string

None.

Email

string

None.

Phone

string

None.

ProductInfo

string

None.

hashValue

string

None.

Request Formats

application/json, text/json

Sample:
{
  "mode": "sample string 1",
  "Amount": "sample string 2",
  "Name": "sample string 3",
  "Email": "sample string 4",
  "Phone": "sample string 5",
  "ProductInfo": "sample string 6",
  "hashValue": "sample string 7"
}

text/html

Sample:
{"mode":"sample string 1","Amount":"sample string 2","Name":"sample string 3","Email":"sample string 4","Phone":"sample string 5","ProductInfo":"sample string 6","hashValue":"sample string 7"}

application/xml, text/xml

Sample:
<PaymentModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MobileWebAPI.Models">
  <Amount>sample string 2</Amount>
  <Email>sample string 4</Email>
  <Name>sample string 3</Name>
  <Phone>sample string 5</Phone>
  <ProductInfo>sample string 6</ProductInfo>
  <hashValue>sample string 7</hashValue>
  <mode>sample string 1</mode>
</PaymentModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

PaymentGatewayMaster
NameDescriptionTypeAdditional information
ID

integer

None.

PaymentKey

string

None.

PaymentSalt

string

None.

MerchantId

string

None.

PaymentTestingUrl

string

None.

PaymentLiveUrl

string

None.

PaymentResponseUrl

string

None.

Active

string

None.

CreatedUser

string

None.

CreatedDate

date

None.

UpdatedUser

string

None.

UpdatedDate

date

None.

hashValue

string

None.

txnId

string

None.

Response Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "PaymentKey": "sample string 2",
  "PaymentSalt": "sample string 3",
  "MerchantId": "sample string 4",
  "PaymentTestingUrl": "sample string 5",
  "PaymentLiveUrl": "sample string 6",
  "PaymentResponseUrl": "sample string 7",
  "Active": "sample string 8",
  "CreatedUser": "sample string 9",
  "CreatedDate": "2026-01-15T00:05:37.1737924+05:30",
  "UpdatedUser": "sample string 11",
  "UpdatedDate": "2026-01-15T00:05:37.1737924+05:30",
  "hashValue": "sample string 13",
  "txnId": "sample string 14"
}

text/html

Sample:
{"ID":1,"PaymentKey":"sample string 2","PaymentSalt":"sample string 3","MerchantId":"sample string 4","PaymentTestingUrl":"sample string 5","PaymentLiveUrl":"sample string 6","PaymentResponseUrl":"sample string 7","Active":"sample string 8","CreatedUser":"sample string 9","CreatedDate":"2026-01-15T00:05:37.1737924+05:30","UpdatedUser":"sample string 11","UpdatedDate":"2026-01-15T00:05:37.1737924+05:30","hashValue":"sample string 13","txnId":"sample string 14"}

application/xml, text/xml

Sample:
<PaymentGatewayMaster xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MobileWebAPI.Models">
  <Active>sample string 8</Active>
  <CreatedDate>2026-01-15T00:05:37.1737924+05:30</CreatedDate>
  <CreatedUser>sample string 9</CreatedUser>
  <ID>1</ID>
  <MerchantId>sample string 4</MerchantId>
  <PaymentKey>sample string 2</PaymentKey>
  <PaymentLiveUrl>sample string 6</PaymentLiveUrl>
  <PaymentResponseUrl>sample string 7</PaymentResponseUrl>
  <PaymentSalt>sample string 3</PaymentSalt>
  <PaymentTestingUrl>sample string 5</PaymentTestingUrl>
  <UpdatedDate>2026-01-15T00:05:37.1737924+05:30</UpdatedDate>
  <UpdatedUser>sample string 11</UpdatedUser>
  <hashValue>sample string 13</hashValue>
  <txnId>sample string 14</txnId>
</PaymentGatewayMaster>