POST api/AccountLink/PaymentAvailability
Request Information
URI Parameters
None.
Body Parameters
PaymentAvailabilityRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| transAmount | decimal number |
None. |
|
| token | string |
None. |
|
| orderId | string |
None. |
|
| merchantUserId | string |
None. |
|
| authType | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"transAmount": 1.0,
"token": "sample string 2",
"orderId": "sample string 3",
"merchantUserId": "sample string 4",
"authType": "sample string 5"
}
application/xml, text/xml
Sample:
<PaymentAvailabilityRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NST.Viettel.Api.Models"> <authType>sample string 5</authType> <merchantUserId>sample string 4</merchantUserId> <orderId>sample string 3</orderId> <token>sample string 2</token> <transAmount>1</transAmount> </PaymentAvailabilityRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResponseObject| Name | Description | Type | Additional 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>