POST api/TouchToOrder/GetPaymentIPNInfo?Billid={Billid}&RestaurantID={RestaurantID}&userId={userId}&totalPaymentAmount={totalPaymentAmount}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
Billid

globally unique identifier

Required

RestaurantID

integer

Required

userId

string

Required

totalPaymentAmount

decimal number

Required

Body Parameters

None.

Response Information

Resource Description

vnpay_IPN
NameDescriptionTypeAdditional information
guid

globally unique identifier

None.

CreateDate

date

None.

requestID

globally unique identifier

None.

amount

decimal number

None.

bankCode

string

None.

checksum

string

None.

orderCode

string

None.

totalPaid

decimal number

None.

methodCode

string

None.

partnerCode

string

None.

merchantCode

string

None.

responseCode

string

None.

responseMessage

string

None.

transactionCode

string

None.

merchantMethodCode

string

None.

clientTransactionCode

string

None.

partnerTransactionCode

string

None.

Response Formats

application/json, text/json

Sample:
{
  "guid": "b2bdd67b-a43c-452b-9310-f35dbedf3a2a",
  "CreateDate": "2025-12-06T12:42:43.757867+07:00",
  "requestID": "f0f07cbc-367d-4c4a-9d80-9b332c0fe821",
  "amount": 4.1,
  "bankCode": "sample string 5",
  "checksum": "sample string 6",
  "orderCode": "sample string 7",
  "totalPaid": 8.1,
  "methodCode": "sample string 9",
  "partnerCode": "sample string 10",
  "merchantCode": "sample string 11",
  "responseCode": "sample string 12",
  "responseMessage": "sample string 13",
  "transactionCode": "sample string 14",
  "merchantMethodCode": "sample string 15",
  "clientTransactionCode": "sample string 16",
  "partnerTransactionCode": "sample string 17"
}

application/xml, text/xml

Sample:
<vnpay_IPN xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://tempuri.org/">
  <guid>b2bdd67b-a43c-452b-9310-f35dbedf3a2a</guid>
  <CreateDate>2025-12-06T12:42:43.757867+07:00</CreateDate>
  <requestID>f0f07cbc-367d-4c4a-9d80-9b332c0fe821</requestID>
  <amount>4.1</amount>
  <bankCode>sample string 5</bankCode>
  <checksum>sample string 6</checksum>
  <orderCode>sample string 7</orderCode>
  <totalPaid>8.1</totalPaid>
  <methodCode>sample string 9</methodCode>
  <partnerCode>sample string 10</partnerCode>
  <merchantCode>sample string 11</merchantCode>
  <responseCode>sample string 12</responseCode>
  <responseMessage>sample string 13</responseMessage>
  <transactionCode>sample string 14</transactionCode>
  <merchantMethodCode>sample string 15</merchantMethodCode>
  <clientTransactionCode>sample string 16</clientTransactionCode>
  <partnerTransactionCode>sample string 17</partnerTransactionCode>
</vnpay_IPN>