POST api/hms/createPaymentTransaction
Request Information
URI Parameters
None.
Body Parameters
Tbl_PaymentTransaction| Name | Description | Type | Additional information |
|---|---|---|---|
| PaymentTransactionId | integer |
None. |
|
| PaymentOrderId | integer |
None. |
|
| RazorpayPayId | string |
None. |
|
| RazorpayPaymentSignature | string |
None. |
|
| PaymentStatus | string |
None. |
|
| Active | boolean |
None. |
|
| CreatedDate | date |
None. |
|
| CreatedUser | string |
None. |
|
| UpdatedDate | date |
None. |
|
| UpdatedUser | string |
None. |
|
| message | string |
None. |
|
| success | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"PaymentTransactionId": 1,
"PaymentOrderId": 2,
"RazorpayPayId": "sample string 3",
"RazorpayPaymentSignature": "sample string 4",
"PaymentStatus": "sample string 5",
"Active": true,
"CreatedDate": "2026-01-15T00:00:23.2844348+05:30",
"CreatedUser": "sample string 8",
"UpdatedDate": "2026-01-15T00:00:23.2844348+05:30",
"UpdatedUser": "sample string 10",
"message": "sample string 11",
"success": true
}
text/html
Sample:
{"PaymentTransactionId":1,"PaymentOrderId":2,"RazorpayPayId":"sample string 3","RazorpayPaymentSignature":"sample string 4","PaymentStatus":"sample string 5","Active":true,"CreatedDate":"2026-01-15T00:00:23.2844348+05:30","CreatedUser":"sample string 8","UpdatedDate":"2026-01-15T00:00:23.2844348+05:30","UpdatedUser":"sample string 10","message":"sample string 11","success":true}
application/xml, text/xml
Sample:
<Tbl_PaymentTransaction xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MobileWebAPI.Models"> <message>sample string 11</message> <success>true</success> <Active>true</Active> <CreatedDate>2026-01-15T00:00:23.2844348+05:30</CreatedDate> <CreatedUser>sample string 8</CreatedUser> <PaymentOrderId>2</PaymentOrderId> <PaymentStatus>sample string 5</PaymentStatus> <PaymentTransactionId>1</PaymentTransactionId> <RazorpayPayId>sample string 3</RazorpayPayId> <RazorpayPaymentSignature>sample string 4</RazorpayPaymentSignature> <UpdatedDate>2026-01-15T00:00:23.2844348+05:30</UpdatedDate> <UpdatedUser>sample string 10</UpdatedUser> </Tbl_PaymentTransaction>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Tbl_PaymentTransaction| Name | Description | Type | Additional information |
|---|---|---|---|
| PaymentTransactionId | integer |
None. |
|
| PaymentOrderId | integer |
None. |
|
| RazorpayPayId | string |
None. |
|
| RazorpayPaymentSignature | string |
None. |
|
| PaymentStatus | string |
None. |
|
| Active | boolean |
None. |
|
| CreatedDate | date |
None. |
|
| CreatedUser | string |
None. |
|
| UpdatedDate | date |
None. |
|
| UpdatedUser | string |
None. |
|
| message | string |
None. |
|
| success | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"PaymentTransactionId": 1,
"PaymentOrderId": 2,
"RazorpayPayId": "sample string 3",
"RazorpayPaymentSignature": "sample string 4",
"PaymentStatus": "sample string 5",
"Active": true,
"CreatedDate": "2026-01-15T00:00:23.2844348+05:30",
"CreatedUser": "sample string 8",
"UpdatedDate": "2026-01-15T00:00:23.2844348+05:30",
"UpdatedUser": "sample string 10",
"message": "sample string 11",
"success": true
}
text/html
Sample:
{"PaymentTransactionId":1,"PaymentOrderId":2,"RazorpayPayId":"sample string 3","RazorpayPaymentSignature":"sample string 4","PaymentStatus":"sample string 5","Active":true,"CreatedDate":"2026-01-15T00:00:23.2844348+05:30","CreatedUser":"sample string 8","UpdatedDate":"2026-01-15T00:00:23.2844348+05:30","UpdatedUser":"sample string 10","message":"sample string 11","success":true}
application/xml, text/xml
Sample:
<Tbl_PaymentTransaction xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MobileWebAPI.Models"> <message>sample string 11</message> <success>true</success> <Active>true</Active> <CreatedDate>2026-01-15T00:00:23.2844348+05:30</CreatedDate> <CreatedUser>sample string 8</CreatedUser> <PaymentOrderId>2</PaymentOrderId> <PaymentStatus>sample string 5</PaymentStatus> <PaymentTransactionId>1</PaymentTransactionId> <RazorpayPayId>sample string 3</RazorpayPayId> <RazorpayPaymentSignature>sample string 4</RazorpayPaymentSignature> <UpdatedDate>2026-01-15T00:00:23.2844348+05:30</UpdatedDate> <UpdatedUser>sample string 10</UpdatedUser> </Tbl_PaymentTransaction>