POST PGM/saveTransaction
Request Information
URI Parameters
None.
Body Parameters
TransactionDO| Name | Description | Type | Additional information |
|---|---|---|---|
| PGMETRN_REFNO | string |
None. |
|
| ORDER_NO | integer |
None. |
|
| TXN_AMOUNT | decimal number |
None. |
|
| STATUS | integer |
None. |
|
| STATUS_DESC | string |
None. |
|
| RESPONSE_CODE | string |
None. |
|
| APPROVAL_CODE | string |
None. |
|
| PAYER_VA | string |
None. |
|
| TRUPAY_TRANSACTIONID | string |
None. |
|
| REFID | string |
None. |
|
| PAYMENT_MODE | string |
None. |
|
| CREATED_BY | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"PGMETRN_REFNO": "sample string 1",
"ORDER_NO": 2,
"TXN_AMOUNT": 3.1,
"STATUS": 4,
"STATUS_DESC": "sample string 5",
"RESPONSE_CODE": "sample string 6",
"APPROVAL_CODE": "sample string 7",
"PAYER_VA": "sample string 8",
"TRUPAY_TRANSACTIONID": "sample string 9",
"REFID": "sample string 10",
"PAYMENT_MODE": "sample string 11",
"CREATED_BY": "sample string 12"
}
text/html
Sample:
{"PGMETRN_REFNO":"sample string 1","ORDER_NO":2,"TXN_AMOUNT":3.1,"STATUS":4,"STATUS_DESC":"sample string 5","RESPONSE_CODE":"sample string 6","APPROVAL_CODE":"sample string 7","PAYER_VA":"sample string 8","TRUPAY_TRANSACTIONID":"sample string 9","REFID":"sample string 10","PAYMENT_MODE":"sample string 11","CREATED_BY":"sample string 12"}
application/xml, text/xml
Sample:
<TransactionDO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PGM.Models"> <APPROVAL_CODE>sample string 7</APPROVAL_CODE> <CREATED_BY>sample string 12</CREATED_BY> <ORDER_NO>2</ORDER_NO> <PAYER_VA>sample string 8</PAYER_VA> <PAYMENT_MODE>sample string 11</PAYMENT_MODE> <PGMETRN_REFNO>sample string 1</PGMETRN_REFNO> <REFID>sample string 10</REFID> <RESPONSE_CODE>sample string 6</RESPONSE_CODE> <STATUS>4</STATUS> <STATUS_DESC>sample string 5</STATUS_DESC> <TRUPAY_TRANSACTIONID>sample string 9</TRUPAY_TRANSACTIONID> <TXN_AMOUNT>3.1</TXN_AMOUNT> </TransactionDO>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, text/html, application/xml, text/xml
Sample:
Sample not available.