POST api/ThanhToan/GetInforPaymentRequest

Request Information

URI Parameters

None.

Body Parameters

GetInforPayment
NameDescriptionTypeAdditional information
requestId

string

None.

merchantId

string

None.

providerId

string

None.

originalRequestId

string

None.

channel

string

None.

version

string

None.

clientIP

string

None.

language

string

None.

transTime

string

None.

signature

string

None.

Request Formats

application/json, text/json

Sample:
{
  "requestId": "sample string 1",
  "merchantId": "sample string 2",
  "providerId": "sample string 3",
  "originalRequestId": "sample string 4",
  "channel": "sample string 5",
  "version": "sample string 6",
  "clientIP": "sample string 7",
  "language": "sample string 8",
  "transTime": "sample string 9",
  "signature": "sample string 10"
}

application/xml, text/xml

Sample:
<GetInforPayment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ThanhToanOnlineAPI.Models">
  <channel>sample string 5</channel>
  <clientIP>sample string 7</clientIP>
  <language>sample string 8</language>
  <merchantId>sample string 2</merchantId>
  <originalRequestId>sample string 4</originalRequestId>
  <providerId>sample string 3</providerId>
  <requestId>sample string 1</requestId>
  <signature>sample string 10</signature>
  <transTime>sample string 9</transTime>
  <version>sample string 6</version>
</GetInforPayment>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

GetInforPaymentResponse
NameDescriptionTypeAdditional information
requestId

string

None.

merchantId

string

None.

providerId

string

None.

code

string

None.

message

string

None.

records

InforPaymentResponse

None.

signature

string

None.

Response Formats

application/json, text/json

Sample:
{
  "requestId": "sample string 1",
  "merchantId": "sample string 2",
  "providerId": "sample string 3",
  "code": "sample string 4",
  "message": "sample string 5",
  "records": {
    "transId": "sample string 1",
    "feeAmount": "sample string 2",
    "vatAmount": "sample string 3",
    "status": "sample string 4",
    "description": "sample string 5",
    "bankTransactionId": "sample string 6",
    "currencyCode": "sample string 7"
  },
  "signature": "sample string 6"
}

application/xml, text/xml

Sample:
<GetInforPaymentResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ThanhToanOnlineAPI.Models">
  <code>sample string 4</code>
  <merchantId>sample string 2</merchantId>
  <message>sample string 5</message>
  <providerId>sample string 3</providerId>
  <records>
    <bankTransactionId>sample string 6</bankTransactionId>
    <currencyCode>sample string 7</currencyCode>
    <description>sample string 5</description>
    <feeAmount>sample string 2</feeAmount>
    <status>sample string 4</status>
    <transId>sample string 1</transId>
    <vatAmount>sample string 3</vatAmount>
  </records>
  <requestId>sample string 1</requestId>
  <signature>sample string 6</signature>
</GetInforPaymentResponse>