POST api/AccountLink/Payment

Request Information

URI Parameters

None.

Body Parameters

PaymentRequest
NameDescriptionTypeAdditional information
transAmount

integer

None.

description

string

None.

orderId

string

None.

otherInfo

string

None.

token

string

None.

merchantUserId

string

None.

authType

string

None.

Request Formats

application/json, text/json

Sample:
{
  "transAmount": 1,
  "description": "sample string 2",
  "orderId": "sample string 3",
  "otherInfo": "sample string 4",
  "token": "sample string 5",
  "merchantUserId": "sample string 6",
  "authType": "sample string 7"
}

application/xml, text/xml

Sample:
<PaymentRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NST.Viettel.Api.Models">
  <authType>sample string 7</authType>
  <description>sample string 2</description>
  <merchantUserId>sample string 6</merchantUserId>
  <orderId>sample string 3</orderId>
  <otherInfo>sample string 4</otherInfo>
  <token>sample string 5</token>
  <transAmount>1</transAmount>
</PaymentRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ResponseObject
NameDescriptionTypeAdditional information
Code

string

None.

Message

string

None.

Time

string

None.

Value

Object

None.

ListValue

Collection of Object

None.

Response Formats

application/json, text/json

Sample:
{
  "Code": "sample string 1",
  "Message": "sample string 2",
  "Time": "sample string 3",
  "Value": {},
  "ListValue": [
    {},
    {}
  ]
}

application/xml, text/xml

Sample:
<ResponseObject xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LuckyLotter.Admin.Lib">
  <Code>sample string 1</Code>
  <ListValue xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:anyType />
    <d2p1:anyType />
  </ListValue>
  <Message>sample string 2</Message>
  <Time>sample string 3</Time>
  <Value />
</ResponseObject>